summaryrefslogtreecommitdiff
path: root/packages/units/units_1.80.bb
blob: b4891ff8ef8ec5e0d6dd0a925a2a9ec5a594d4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "GNU units converts between different systems of units."
DEPENDS = "readline"
SECTION = "console/utils"
PR = "r1"

LICENSE = "GPL"
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"