diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-27 10:45:46 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-27 10:45:46 +0000 |
commit | 52de4ff080025f1148416070b14c75c334583277 (patch) | |
tree | a62b73bee08080ff18f03e97317ea067d91bfb2e /testing/arping | |
parent | cd81e7c06c1c1196c2b87bdf52a64b2eb39e1bed (diff) | |
download | aports-52de4ff080025f1148416070b14c75c334583277.tar.bz2 aports-52de4ff080025f1148416070b14c75c334583277.tar.xz |
testing/arping: conflicts with iputils
Diffstat (limited to 'testing/arping')
-rw-r--r-- | testing/arping/APKBUILD | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/testing/arping/APKBUILD b/testing/arping/APKBUILD index b9c3dad708..5d0c9a6e43 100644 --- a/testing/arping/APKBUILD +++ b/testing/arping/APKBUILD @@ -1,37 +1,26 @@ -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=arping pkgver=2.16 -pkgrel=0 +pkgrel=1 pkgdesc="An ARP ping utility" url="http://www.habets.pp.se/synscan/programs.php?prog=arping" arch="all" license="GPL2+" -depends="" +depends="!iputils" depends_dev="" makedepends="$depends_dev libnet-dev libpcap-dev" install="" subpackages="$pkgname-doc" source="http://www.habets.pp.se/synscan/files/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr make || return 1 - } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |