summaryrefslogtreecommitdiff
path: root/packages/zcip/zcip_4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zcip/zcip_4.bb')
-rw-r--r--packages/zcip/zcip_4.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/zcip/zcip_4.bb b/packages/zcip/zcip_4.bb
index e69de29bb2..37f7a28a2d 100644
--- a/packages/zcip/zcip_4.bb
+++ b/packages/zcip/zcip_4.bb
@@ -0,0 +1,18 @@
+SECTION = "console/network"
+DEPENDS = "libpcap libnet-1.0.2a"
+DESCRIPTION = "zcip is an implementation of zero configuration networking (zeroconf)."
+LICENSE = "BSD"
+SRC_URI = "${SOURCEFORGE_MIRROR}/zeroconf/zcip-${PV}.tar.gz \
+ file://compile.patch;patch=1 \
+ file://linux-types.patch;patch=1 \
+ file://char-signed-idiocy.patch;patch=1"
+
+CPPFLAGS_append = " -DLIBNET_LIL_ENDIAN"
+do_compile () {
+ oe_runmake 'LIBS=${STAGING_LIBDIR}/libpcap.a ${STAGING_LIBDIR}/libnet.a'
+}
+
+do_install () {
+ install -d ${D}/${sbindir}
+ install -m 0744 make-arp zcip ${D}/${sbindir}/
+}