summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGianluca Boiano2018-12-29 18:21:46 +0100
committerGianluca Boiano2018-12-29 18:21:46 +0100
commit1502bc2fbe08d9dc52e04b8faa3d5af4e1a5c4a2 (patch)
treeffee81003c1cfbda507688cf56edd8662dc60231 /PKGBUILD
parent02effe5863114fd6258461309be21a63fc6d9ea4 (diff)
downloadaur-1502bc2fbe08d9dc52e04b8faa3d5af4e1a5c4a2.tar.gz
ndpi: fixed pkgconfig path
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c4bf53d6e5fa..a215c2fae4c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ndpi
pkgver=2.6
-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,7 +14,8 @@ source=("https://github.com/ntop/nDPI/archive/$pkgver.tar.gz")
build() {
cd ${srcdir}/nDPI-$pkgver
# Remove hardcoded path
- sed -i "s|\/usr\/local|\/usr|g" src/lib/Makefile.in example/Makefile.in
+ sed -i "s|\/usr\/local|\/usr\/|g" src/lib/Makefile.in example/Makefile.in
+ sed -i "s|libdata|lib|g" Makefile.am
./autogen.sh
./configure --prefix=/usr --with-pic --includedir=/usr/include --libdir=/usr/lib
make