diff options
Diffstat (limited to 'testing/ndpi/APKBUILD')
-rw-r--r-- | testing/ndpi/APKBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/testing/ndpi/APKBUILD b/testing/ndpi/APKBUILD index f5b9e0fe854..82d60f82061 100644 --- a/testing/ndpi/APKBUILD +++ b/testing/ndpi/APKBUILD @@ -1,27 +1,26 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=ndpi _pkgreal=nDPI -pkgver=2.2 -pkgrel=1 +pkgver=4.8 +pkgrel=0 pkgdesc="Open Source Deep Packet Inspection Software Toolkit" url="https://github.com/ntop/nDPI" # armhf test fail without apparent cause -# s390x/mips test hangs (big-endian) -arch="all !armhf !armv7 !s390x !mips !mips64" -license="GPL-3.0" -makedepends="autoconf automake libpcap-dev libtool" +# s390x test hangs (big-endian) +arch="all !armhf !armv7 !s390x" +license="GPL-3.0-only" +makedepends="autoconf automake libpcap-dev libtool json-c-dev" subpackages="$pkgname-dev" +options="!check" # currently broken source="$pkgname-$pkgver.tar.gz::https://github.com/ntop/nDPI/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgreal-$pkgver prepare() { - cd "$builddir" default_prepare ./autogen.sh } build() { - cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -30,16 +29,16 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } check() { - cd "$builddir" # fails on those two rm tests/pcap/nintendo.pcap rm tests/pcap/skype-conference-call.pcap make check } -sha512sums="ee1e0a1cc87a3971408877bd5d3154f6bd5d4ddcd2437c8e03e5d8a5093da2b1cbfefad1e28e77145af4286eecbd341ef90f94aa5c7f36a98e3625e9948e96d6 ndpi-2.2.tar.gz" +sha512sums=" +f76eb99a83262a6d148509c7ce457b9af35dce3657c8191405ba15999b25c323ee0bee2907b0a7e6ba6f12a63182fde839e0098a4e8e0f63999e600526f3036b ndpi-4.8.tar.gz +" |