diff options
Diffstat (limited to 'testing/arping/APKBUILD')
-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 } |