diff options
-rw-r--r-- | zcip/zcip-4.oe | 18 | ||||
-rw-r--r-- | zcip/zcip-4/char-signed-idiocy.patch | 0 | ||||
-rw-r--r-- | zcip/zcip-4/linux-types.patch | 0 |
3 files changed, 18 insertions, 0 deletions
diff --git a/zcip/zcip-4.oe b/zcip/zcip-4.oe index e69de29bb2..6116ed3967 100644 --- a/zcip/zcip-4.oe +++ b/zcip/zcip-4.oe @@ -0,0 +1,18 @@ +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 +S := ${WORKDIR}/${P} + +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}/ +} diff --git a/zcip/zcip-4/char-signed-idiocy.patch b/zcip/zcip-4/char-signed-idiocy.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/zcip/zcip-4/char-signed-idiocy.patch diff --git a/zcip/zcip-4/linux-types.patch b/zcip/zcip-4/linux-types.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/zcip/zcip-4/linux-types.patch |