summaryrefslogtreecommitdiff
path: root/recipes/realpath/realpath_1.10.bb
blob: 4833740907d9467e3ac8aa5edf9a204d43746696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "Return the canonicalized absolute pathname"
SECTION = "utility"
PRIORITY = "optional"
LICENSE = "GPLv2"

SRC_URI = "${DEBIAN_MIRROR}/main/r/realpath/realpath_${PV}.tar.gz;name=realpath \
           file://makefile.patch;patch=1"

SRC_URI[realpath.md5sum] = "1f2b2bceaacadf79162a9cbb5956c3b6"
SRC_URI[realpath.sha256sum] = "72199f9c11d1f9a36b3b9693988b558a167def6b88fa146ea6a7f7223f96c535"

CFLAGS += "-DVERSION=${PV}"

do_install () {
	install -d ${D}${bindir}
	install -p -m 0755 ${S}/realpath ${D}${bindir}
}