summaryrefslogtreecommitdiff
path: root/zcip
diff options
context:
space:
mode:
Diffstat (limited to 'zcip')
-rw-r--r--zcip/zcip_4.oe17
1 files changed, 17 insertions, 0 deletions
diff --git a/zcip/zcip_4.oe b/zcip/zcip_4.oe
index e69de29bb2..89218f34c9 100644
--- a/zcip/zcip_4.oe
+++ b/zcip/zcip_4.oe
@@ -0,0 +1,17 @@
+DEPENDS = virtual/libc libpcap libnet-1.0.2a
+RDEPENDS = libc6
+
+SRC_URI := ${SOURCEFORGE_MIRROR}/zeroconf/zcip-4.tar.gz \
+ file://${FILESDIR}/compile.patch;patch=1 \
+ file://${FILESDIR}/linux-types.patch;patch=1 \
+ file://${FILESDIR}/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}/
+}