aboutsummaryrefslogtreecommitdiffstats
path: root/units/units_1.80.oe
blob: 84093464cf29abe94abf55bc49871d843a3997e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 \
	   file://makefile.patch;patch=1"

inherit autotools

do_install_append() {
       install -d ${D}/${datadir}
       install -m 0655 units.dat ${D}/${datadir}
}

FILES_${PN} += "${datadir}/units.dat"