blob: a666ab08667a5c5c82bcb938f9b8e21c32eb2057 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: robertfoster
pkgname=ndpi
pkgver=3.4
pkgrel=2
pkgdesc="Open and Extensible GPLv3 Deep Packet Inspection Library"
arch=('i686' 'x86_64')
url="http://www.ntop.org/products/ndpi/"
license=('GPL3')
conflicts=('ndpi-svn')
options=()
source=("https://github.com/ntop/nDPI/archive/${pkgver}.tar.gz")
build() {
cd "${srcdir}/nDPI-${pkgver}"
unset CPPFLAGS
./autogen.sh
./configure --prefix=/usr --with-pic --includedir=/usr/include --libdir=/usr/lib
make
}
package() {
cd "${srcdir}/nDPI-${pkgver}"
make DESTDIR="${pkgdir}" install
ln -sf /usr/include/ndpi \
"${pkgdir}/usr/include/libndpi"
}
md5sums=('4a2978b0d527a220ab46344444a1934c')
|