summaryrefslogtreecommitdiff
path: root/recipes/zcip/zcip_4.bb
blob: 348e0b1806e6fba0eba07738af55a19fddc46b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 \
	   file://linux-types.patch \
	   file://char-signed-idiocy.patch"

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}/
}

SRC_URI[md5sum] = "ce40fdcd923110ee75717295a5fd4100"
SRC_URI[sha256sum] = "09bff63fdf2ae0704423ad232d31e792b342433e12306e107c14dc02f06ed507"