summaryrefslogtreecommitdiff
path: root/packages/iputils/iputils_20020927.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/iputils/iputils_20020927.bb')
-rw-r--r--packages/iputils/iputils_20020927.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/iputils/iputils_20020927.bb b/packages/iputils/iputils_20020927.bb
index e69de29bb2..874013268b 100644
--- a/packages/iputils/iputils_20020927.bb
+++ b/packages/iputils/iputils_20020927.bb
@@ -0,0 +1,30 @@
+SECTION = "console/utils"
+BROKEN = "1"
+DEPENDS = "docbook-utils-native"
+DESCRIPTION = "Utilities for the IP protocol."
+LICENSE ="BSD"
+SRC_URI = "http://www.tux.org/pub/people/alexey-kuznetsov/ip-routing/iputils-ss020927.tar.gz"
+S = "${WORKDIR}/iputils"
+
+EXTRA_OEMAKE = ""
+
+do_compile () {
+ oe_runmake 'CC=${CC}' \
+ KERNEL_INCLUDE="${STAGING_INCDIR}" \
+ LIBC_INCLUDE="${STAGING_INCDIR}"
+ oe_runmake -C doc 'CC=${CC}' \
+ KERNEL_INCLUDE="${STAGING_INCDIR}" \
+ LIBC_INCLUDE="${STAGING_INCDIR}"
+}
+
+do_install () {
+ install -d ${D}/bin ${D}${sbindir} \
+ ${D}/${mandir}/man8 ${D}/${datadir}/doc/${P}
+ install -m 0755 ping ${D}/bin/
+ for f in ipg tracepath clockdiff rdisc arping \
+ tftpd rarpd tracepath6 traceroute6 ping6; do
+ install -m 0755 $f ${D}/${sbindir}/
+ done
+ install -m 0644 doc/*.8 ${D}/${mandir}/man8/
+ install -m 0644 doc/*.html ${D}/${datadir}/doc/${P}/
+}