summaryrefslogtreecommitdiff
path: root/recipes/pf_ring/pf-ring_svn.bb
blob: 55b59711b8eff636a5b19fa6f1c220b8e6e179ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "PF_RING is a new type of network socket that dramatically improves the packet capture speed, this package contains PF_RING kernel module"
SECTION = "optional"
HOMEPAGE = "http://www.ntop.org/PF_RING.html"
LICENSE = "GPL"
PV = "4.4.0+svnr${SRCPV}"

S = "${WORKDIR}/kernel"

SRCREV = "4326"
SRC_URI = "svn://svn.ntop.org/svn/ntop/trunk/PF_RING;module=kernel;proto=https"

inherit module

MAKE_TARGETS = "modules"
MODULE_MAKE_FLAGS += "-C ${STAGING_KERNEL_DIR} M=${S}"

do_install_append() {
	install -d ${D}${includedir}/linux
	install -m 0644 linux/pf_ring.h ${D}${includedir}/linux
}