New package: ndpi-1.6
This commit is contained in:
parent
3eb8c26ff3
commit
7160a58345
|
@ -2334,3 +2334,4 @@ libopenshot-audio.so.3 libopenshot-audio-0.0.6_1
|
|||
libopenshot.so.6 libopenshot-0.0.9_1
|
||||
libavresample.so.2 libavresample-2.8.5_3
|
||||
libpqxx-4.0.so libpqxx-4.0.1_1
|
||||
libndpi.so.1 ndpi-1.6_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ndpi
|
|
@ -0,0 +1,11 @@
|
|||
--- src/include/linux_compat.h.bck 2016-02-01 04:20:53.130125595 -0500
|
||||
+++ src/include/linux_compat.h 2016-02-01 04:21:07.555942679 -0500
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
#include "ndpi_define.h"
|
||||
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#include <machine/endian.h>
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'ndpi'
|
||||
pkgname=ndpi
|
||||
version=1.6
|
||||
revision=1
|
||||
wrksrc=nDPI-${version}
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="libtool automake pkg-config"
|
||||
makedepends="libpcap-devel json-c-devel"
|
||||
short_desc="Open Source Deep Packet Inspection Software Toolkit"
|
||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.ntop.org/products/ndpi/"
|
||||
distfiles="https://github.com/ntop/nDPI/archive/${version}.tar.gz"
|
||||
checksum=0863c7096f70c785e1b27a34f7b40939ac1a0e3a734ea3dcaa5cf161360a2561
|
||||
nocross=yes
|
||||
|
||||
pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vdoc doc/nDPI_QuickStartGuide.pdf
|
||||
}
|
||||
|
||||
ndpi-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue