diff options
author | M0Rf30 | 2017-11-20 19:13:02 +0100 |
---|---|---|
committer | M0Rf30 | 2017-11-20 19:13:02 +0100 |
commit | 7a2ed462f8d9ddeebe886b7585652dfac7b49273 (patch) | |
tree | 6eb23c86f2b366367fd72db4b19f7285b532864f /PKGBUILD | |
parent | 17aa085b2e96ee8b4588023549db7a11a0d8048c (diff) | |
download | aur-7a2ed462f8d9ddeebe886b7585652dfac7b49273.tar.gz |
ndpi: cleanup
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,7 +2,7 @@ pkgname=ndpi pkgver=2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Open and Extensible GPLv3 Deep Packet Inspection Library" arch=('i686' 'x86_64') url="http://www.ntop.org/products/ndpi/" @@ -14,13 +14,16 @@ source=("https://github.com/ntop/nDPI/archive/$pkgver.tar.gz") build() { cd ${srcdir}/nDPI-$pkgver ./autogen.sh - ./configure --prefix=/usr + ./configure --prefix=/usr --with-pic --includedir=/usr/include --libdir=/usr/lib make } package() { cd ${srcdir}/nDPI-$pkgver make DESTDIR="${pkgdir}/" install + mv $pkgdir/usr/include/libndpi-${pkgver}*/libndpi $pkgdir/usr/include + rm -r $pkgdir/usr/include/libndpi-${pkgver}* + sed -i 's|\/libndpi-2.0.0||g' $pkgdir/usr/lib/pkgconfig/libndpi.pc } md5sums=('28e6c5e5361a56206a79b100c25947c3') |