summaryrefslogtreecommitdiff
path: root/libnids/libnids_1.18.oe
blob: adc85d91aa5b694486111d4a4f8f85340d8da4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DEPENDS = "virtual/libc libnet libpcap"
RDEPENDS = "libc6 libnet libpcap"
DESCRIPTION = "Libnids performs assembly of TCP segments \
into TCP streams, IP defragmentation, and TCP port \
scan detection."

SRC_URI = "${SOURCEFORGE_MIRROR}/libnids/libnids-${PV}.tar.gz \
	   file://${FILESDIR}/configure.patch;patch=1"

inherit autotools

EXTRA_OECONF = "--with-libpcap=${STAGING_LIBDIR}/.. \
		--with-libnet=${STAGING_LIBDIR}/.."
EXTRA_OEMAKE = "'install_prefix=${D}'"

do_stage () {
	install -m 0644 ${S}/src/nids.h ${STAGING_INCDIR}/
	install -m 0644 src/libnids.a ${STAGING_LIBDIR}/
}