diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-31 21:14:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-20 10:27:28 +0000 |
commit | 5550d38fd33db63a75984616eeb33ae856dd0864 (patch) | |
tree | 4afdf329025c074c42125a605de3b7b291e1eb68 /testing/arpalert | |
parent | cab6e4680c8d1f8ae4943c8b4db467de29b534f9 (diff) | |
download | aports-5550d38fd33db63a75984616eeb33ae856dd0864.tar.bz2 aports-5550d38fd33db63a75984616eeb33ae856dd0864.tar.xz |
testing/arpalert: specify license
Diffstat (limited to 'testing/arpalert')
-rw-r--r-- | testing/arpalert/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/testing/arpalert/APKBUILD b/testing/arpalert/APKBUILD index bc23f5e79f..fa80ca8795 100644 --- a/testing/arpalert/APKBUILD +++ b/testing/arpalert/APKBUILD @@ -2,11 +2,11 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=arpalert pkgver=2.0.11 -pkgrel=0 +pkgrel=1 pkgdesc="Monitor ARP changes in ethernet networks" url="http://www.arpalert.org" arch="all" -license="GPL" +license="GPL2" depends="" depends_dev="libpcap-dev" makedepends="$depends_dev" @@ -14,6 +14,7 @@ install="" subpackages="$pkgname-dev $pkgname-doc" source="http://www.arpalert.org/src/$pkgname-$pkgver.tar.gz $pkgname.initd" + _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i @@ -33,16 +34,20 @@ build() { --sharedstatedir=/usr/share \ --localstatedir=/var \ --includedir=/usr/include \ - --datarootdir=/usr/share - + --datarootdir=/usr/share \ + || return 1 make || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } md5sums="4b2b7682b27c7f260716f59ecfa50ecc arpalert-2.0.11.tar.gz da046bdcd1dde63930a3353b37e35ddd arpalert.initd" +sha256sums="d3166f0de57729902d84a61626794494c4eac80ee58241d07c813809328e62cd arpalert-2.0.11.tar.gz +c413e956f253120455874c1d94ec24b09d896fa410974aa309eb31468e25306e arpalert.initd" +sha512sums="8593b5f87c8435bc0dfb6b1d48b72705a109425410039341fddb49beddacb30c87e2b30a1f86cca17bb64aa407060ee5b9437ff2801b9869261ed91f6f5e141f arpalert-2.0.11.tar.gz +0f0caf396601d199e649a35e078ab512d67fca020f207a3389968a2c9749fdeca3856359ba3d2650ef1dda5a1d399de39cd3e33a54df12258825646f0a626160 arpalert.initd" |