diff options
author | J0WI <J0WI@users.noreply.github.com> | 2020-01-21 17:55:43 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-22 10:59:57 +0100 |
commit | 41bd73fbdbdfad67d438cca852378db8da300378 (patch) | |
tree | 86b345edf655d2d284909c63cd7d1d1f066d9198 /main/ntop | |
parent | 914516723a5d5e80edc0c6d85138d31d4ff6bc22 (diff) | |
download | aports-41bd73fbdbdfad67d438cca852378db8da300378.zip |
main/ntop: modernize
Diffstat (limited to 'main/ntop')
-rw-r--r-- | main/ntop/APKBUILD | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD index 990c4aa80d3..083ad8b730a 100644 --- a/main/ntop/APKBUILD +++ b/main/ntop/APKBUILD @@ -1,12 +1,11 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=ntop pkgver=5.0.1 -pkgrel=14 +pkgrel=15 pkgdesc="Network traffic probe" -url="http://www.ntop.org" +url="https://www.ntop.org/" arch="all" -license="GPL" -depends= +license="GPL-3.0-only" pkgusers="ntop" pkggroups="ntop" makedepends="autoconf automake freetype-dev gdbm-dev geoip-dev @@ -15,7 +14,7 @@ makedepends="autoconf automake freetype-dev gdbm-dev geoip-dev linux-headers" install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc" -source="https://sourceforge.net/projects/$pkgname/files/$pkgname/Stable/$pkgname-$pkgver.tar.gz +source="https://sourceforge.net/projects/ntop/files/ntop/Stable/ntop-$pkgver.tar.gz include-sys-types.h.patch automake.patch reorder_make_deps @@ -24,10 +23,7 @@ source="https://sourceforge.net/projects/$pkgname/files/$pkgname/Stable/$pkgname ntop.confd ntop-update-geoip-db" -builddir="$srcdir"/$pkgname-$pkgver - build() { - cd "$builddir" update_config_guess update_config_sub ./autogen.sh --prefix=/usr \ @@ -41,7 +37,6 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname |