diff options
Diffstat (limited to 'meta-networking/recipes-support/ntopng/ndpi_5.0.bb')
| -rw-r--r-- | meta-networking/recipes-support/ntopng/ndpi_5.0.bb | 30 |
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 @@ | |||
| 1 | SUMMARY = "A library for deep-packet inspection." | ||
| 2 | DESCRIPTION = "nDPI is an open source LGPLv3 library for deep-packet \ | ||
| 3 | inspection. Based on OpenDPI it includes ntop extensions" | ||
| 4 | |||
| 5 | SECTION = "libdevel" | ||
| 6 | DEPENDS = "libpcap json-c" | ||
| 7 | RDEPENDS:${PN} += " libpcap" | ||
| 8 | LICENSE = "LGPL-3.0-only" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" | ||
| 10 | |||
| 11 | SRCREV = "375f99ef9fb4999d778b57bbeece171b3fa9fba6" | ||
| 12 | SRC_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 | |||
| 16 | inherit autotools pkgconfig | ||
| 17 | |||
| 18 | CPPFLAGS += "${SELECTED_OPTIMIZATION}" | ||
| 19 | |||
| 20 | do_configure:prepend() { | ||
| 21 | (cd ${S} && ${S}/autogen.sh) | ||
| 22 | } | ||
| 23 | |||
| 24 | do_install:append() { | ||
| 25 | install -Dm 0644 ${B}/src/include/ndpi_define.h ${D}${includedir}/ndpi/ndpi_define.h | ||
| 26 | } | ||
| 27 | |||
| 28 | EXTRA_OEMAKE = " \ | ||
| 29 | libdir=${libdir} \ | ||
| 30 | " | ||
