install units datatime needed at runtime. patch courtesy Grendel
authorMichael Lauer <mickey@vanille-media.de>
Tue, 26 Oct 2004 09:50:07 +0000 (09:50 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Tue, 26 Oct 2004 09:50:07 +0000 (09:50 +0000)
BKrev: 417e1dcfi1gJQk2BpFSc5wT8-ugXMQ

units/units_1.80.oe

index fe65926..8409346 100644 (file)
@@ -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"