summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-09-30 12:47:34 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-28 16:15:19 +0100
commit6530cf7b217a036a08ac10a1b2641ce4364272ba (patch)
tree956b65d61158ae310a539f3d737a145a79288ff4 /meta
parent8bf4f5fb4692eb1ab90e59d722b152b3c458fc73 (diff)
downloadpoky-6530cf7b217a036a08ac10a1b2641ce4364272ba.tar.gz
iputils: do not build or install manpages
This allows dropping the SGML stack dependency, and iputils is the only package in oe-core that still needs it (for manpages only). (From OE-Core rev: 58ac4da13cf32e1c8484d1a6ac51f0f439a6932c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/iputils/iputils_s20151218.bb11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/recipes-extended/iputils/iputils_s20151218.bb b/meta/recipes-extended/iputils/iputils_s20151218.bb
index 715045470c..0d4dd1b17c 100644
--- a/meta/recipes-extended/iputils/iputils_s20151218.bb
+++ b/meta/recipes-extended/iputils/iputils_s20151218.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://ping.c;beginline=1;endline=35;md5=f9ceb201733e9a6cf8f
11 file://arping.c;beginline=1;endline=11;md5=fe84301b5c2655c950f8b92a057fafa6 \ 11 file://arping.c;beginline=1;endline=11;md5=fe84301b5c2655c950f8b92a057fafa6 \
12 file://tftpd.c;beginline=1;endline=32;md5=28834bf8a91a5b8a92755dbee709ef96 " 12 file://tftpd.c;beginline=1;endline=32;md5=28834bf8a91a5b8a92755dbee709ef96 "
13 13
14DEPENDS = "gnutls docbook-utils-native sgmlspl-native libcap libgcrypt" 14DEPENDS = "gnutls libcap libgcrypt"
15 15
16 16
17SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \ 17SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \
@@ -30,11 +30,11 @@ UPSTREAM_CHECK_REGEX = "iputils-(?P<pver>s\d+).tar"
30EXTRA_OEMAKE = "-e MAKEFLAGS=" 30EXTRA_OEMAKE = "-e MAKEFLAGS="
31 31
32do_compile () { 32do_compile () {
33 oe_runmake 'CC=${CC} -D_GNU_SOURCE' VPATH="${STAGING_LIBDIR}:${STAGING_DIR_HOST}/${base_libdir}" all man 33 oe_runmake 'CC=${CC} -D_GNU_SOURCE' VPATH="${STAGING_LIBDIR}:${STAGING_DIR_HOST}/${base_libdir}" all
34} 34}
35 35
36do_install () { 36do_install () {
37 install -m 0755 -d ${D}${base_bindir} ${D}${mandir}/man8 37 install -m 0755 -d ${D}${base_bindir}
38 # SUID root programs 38 # SUID root programs
39 install -m 4555 ping ${D}${base_bindir}/ping 39 install -m 4555 ping ${D}${base_bindir}/ping
40 install -m 4555 ping6 ${D}${base_bindir}/ping6 40 install -m 4555 ping6 ${D}${base_bindir}/ping6
@@ -44,10 +44,6 @@ do_install () {
44 for i in arping tracepath tracepath6; do 44 for i in arping tracepath tracepath6; do
45 install -m 0755 $i ${D}${base_bindir}/ 45 install -m 0755 $i ${D}${base_bindir}/
46 done 46 done
47 # Manual pages for things we build packages for
48 for i in tracepath.8 traceroute6.8 ping.8 arping.8; do
49 install -m 0644 doc/$i ${D}${mandir}/man8/ || true
50 done
51} 47}
52 48
53inherit update-alternatives 49inherit update-alternatives
@@ -73,4 +69,3 @@ FILES_${PN}-tracepath = "${base_bindir}/tracepath"
73FILES_${PN}-tracepath6 = "${base_bindir}/tracepath6" 69FILES_${PN}-tracepath6 = "${base_bindir}/tracepath6"
74FILES_${PN}-traceroute6 = "${base_bindir}/traceroute6" 70FILES_${PN}-traceroute6 = "${base_bindir}/traceroute6"
75FILES_${PN}-clockdiff = "${base_bindir}/clockdiff" 71FILES_${PN}-clockdiff = "${base_bindir}/clockdiff"
76FILES_${PN}-doc = "${mandir}/man8"