summaryrefslogtreecommitdiff
path: root/libnids/libnids_1.18.oe
blob: 8d4484be1aab33d9c498dbdc1f0ae3a159cd51a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DEPENDS = virtual/libc libnet libpcap

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

inherit autotools
EXTRA_OECONF='--with-libpcap=${STAGING_DIR}/target \
	      --with-libnet=${STAGING_DIR}/target'
EXTRA_OEMAKE='"install_prefix=${D}"'

do_stage () {
	install -m 0644 src/nids.h ${STAGING_DIR}/target/include/
	install -m 0644 src/libnids.a ${STAGING_LIBDIR}/
}