Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 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" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 8 | LICENSE = "GPL-3.0-only" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" |
| 10 | |
| 11 | SRCREV = "8b5c6af71b562549f8416b31803daae223e09f46" |
| 12 | SRC_URI = "git://github.com/ntop/nDPI.git;branch=4.2-stable;protocol=https \ |
| 13 | file://0001-autogen.sh-not-generate-configure.patch \ |
| 14 | " |
| 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | inherit autotools-brokensep pkgconfig |
| 19 | |
| 20 | CPPFLAGS += "${SELECTED_OPTIMIZATION}" |
| 21 | |
| 22 | do_configure:prepend() { |
| 23 | ${S}/autogen.sh |
| 24 | } |
| 25 | |
| 26 | EXTRA_OEMAKE = " \ |
| 27 | libdir=${libdir} \ |
| 28 | " |