From: Michael Lauer Date: Tue, 26 Oct 2004 09:50:07 +0000 (+0000) Subject: install units datatime needed at runtime. patch courtesy Grendel X-Git-Tag: Release-2010-05/1~16458 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d8995096dc8091d86307def8ccf5f15afb8467;p=openembedded.git install units datatime needed at runtime. patch courtesy Grendel BKrev: 417e1dcfi1gJQk2BpFSc5wT8-ugXMQ --- diff --git a/units/units_1.80.oe b/units/units_1.80.oe index fe65926756..84093464cf 100644 --- a/units/units_1.80.oe +++ b/units/units_1.80.oe @@ -1,6 +1,7 @@ -DEPENDS = "readline" DESCRIPTION = "GNU units converts between different systems of units." +DEPENDS = "readline" SECTION = "console/utils" +PR = "r1" SRC_URI = "${GNU_MIRROR}/units/units-${PV}.tar.gz \ file://units.c.patch;patch=1 \ @@ -8,3 +9,9 @@ SRC_URI = "${GNU_MIRROR}/units/units-${PV}.tar.gz \ inherit autotools +do_install_append() { + install -d ${D}/${datadir} + install -m 0655 units.dat ${D}/${datadir} +} + +FILES_${PN} += "${datadir}/units.dat"