From 07d8995096dc8091d86307def8ccf5f15afb8467 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 26 Oct 2004 09:50:07 +0000 Subject: install units datatime needed at runtime. patch courtesy Grendel BKrev: 417e1dcfi1gJQk2BpFSc5wT8-ugXMQ --- units/units_1.80.oe | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'units') 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" -- cgit v1.2.3