summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntopng/ndpi_5.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/ntopng/ndpi_5.0.bb')
-rw-r--r--meta-networking/recipes-support/ntopng/ndpi_5.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntopng/ndpi_5.0.bb b/meta-networking/recipes-support/ntopng/ndpi_5.0.bb
new file mode 100644
index 0000000000..6eadf8ba62
--- /dev/null
+++ b/meta-networking/recipes-support/ntopng/ndpi_5.0.bb
@@ -0,0 +1,30 @@
1SUMMARY = "A library for deep-packet inspection."
2DESCRIPTION = "nDPI is an open source LGPLv3 library for deep-packet \
3inspection. Based on OpenDPI it includes ntop extensions"
4
5SECTION = "libdevel"
6DEPENDS = "libpcap json-c"
7RDEPENDS:${PN} += " libpcap"
8LICENSE = "LGPL-3.0-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
10
11SRCREV = "375f99ef9fb4999d778b57bbeece171b3fa9fba6"
12SRC_URI = "git://github.com/ntop/nDPI.git;branch=5.0-stable;protocol=https;tag=${PV} \
13 file://0001-configure-Stop-embedding-pwd-at-configure-time.patch \
14 "
15
16inherit autotools pkgconfig
17
18CPPFLAGS += "${SELECTED_OPTIMIZATION}"
19
20do_configure:prepend() {
21 (cd ${S} && ${S}/autogen.sh)
22}
23
24do_install:append() {
25 install -Dm 0644 ${B}/src/include/ndpi_define.h ${D}${includedir}/ndpi/ndpi_define.h
26}
27
28EXTRA_OEMAKE = " \
29 libdir=${libdir} \
30"