2016-02-01 10:12:08 +01:00
|
|
|
# Template file for 'ndpi'
|
|
|
|
pkgname=ndpi
|
2016-04-17 18:56:37 +02:00
|
|
|
version=1.7
|
2016-02-01 10:12:08 +01:00
|
|
|
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"
|
2016-04-17 18:56:37 +02:00
|
|
|
checksum=109ec948c869022258db9188df48e985c285b3d9a43d160bb5fb5da5986e27ea
|
2016-02-01 10:12:08 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
2016-02-03 08:25:17 +01:00
|
|
|
autoreconf -fi
|
2016-02-01 10:12:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|