2016-02-01 09:12:08 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
pre_configure() {
|
2016-02-03 07:25:17 +00:00
|
|
|
autoreconf -fi
|
2016-02-01 09:12:08 +00: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
|
|
|
|
}
|
|
|
|
}
|