summaryrefslogtreecommitdiff
path: root/packages/units/units_1.80.bb
blob: be3fe1cc1ae0b2e885278b330e9a6207f18e03ac (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"
FILE_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"