summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
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"