diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |