diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-connectivity/iproute2/iproute2.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2.inc')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc new file mode 100644 index 0000000000..7246b87e9b --- /dev/null +++ b/meta/recipes-connectivity/iproute2/iproute2.inc | |||
@@ -0,0 +1,27 @@ | |||
1 | DESCRIPTION = "kernel routing and traffic control utilities" | ||
2 | HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | ||
6 | file://ip/ip.c;md5=186731afa4b42e30b9b37efa4ec90b93" | ||
7 | DEPENDS = "flex-native bison-native" | ||
8 | |||
9 | inherit update-alternatives | ||
10 | |||
11 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_KERNEL_DIR}/include DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR=/sbin" | ||
12 | |||
13 | do_install () { | ||
14 | oe_runmake DESTDIR=${D} install | ||
15 | mv ${D}${base_sbindir}/ip ${D}${base_sbindir}/ip.iproute2 | ||
16 | install -d ${D}${datadir} | ||
17 | mv ${D}/share/* ${D}${datadir}/ || true | ||
18 | rm ${D}/share -rf || true | ||
19 | } | ||
20 | |||
21 | FILES_${PN} += "/usr/lib/tc/*" | ||
22 | FILES_${PN}-dbg += "/usr/lib/tc/.debug" | ||
23 | |||
24 | ALTERNATIVE_NAME = "ip" | ||
25 | ALTERNATIVE_PATH = "${base_sbindir}/ip.iproute2" | ||
26 | ALTERNATIVE_LINK = "${base_bindir}/ip" | ||
27 | ALTERNATIVE_PRIORITY = "100" | ||