summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-10-26 09:50:07 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-10-26 09:50:07 +0000
commit07d8995096dc8091d86307def8ccf5f15afb8467 (patch)
tree1cccf1e2af508da7b5cad8c20e0a40f20e0c4df6 /units
parentbda5b4595f8b4855a2cfcdd778adba94364161e1 (diff)
install units datatime needed at runtime. patch courtesy Grendel
BKrev: 417e1dcfi1gJQk2BpFSc5wT8-ugXMQ
Diffstat (limited to 'units')
-rw-r--r--units/units_1.80.oe9
1 files changed, 8 insertions, 1 deletions
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"