aboutsummaryrefslogtreecommitdiffstats
path: root/main/iputils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iputils/APKBUILD')
-rw-r--r--main/iputils/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/iputils/APKBUILD b/main/iputils/APKBUILD
index defa6a5acb..933168b072 100644
--- a/main/iputils/APKBUILD
+++ b/main/iputils/APKBUILD
@@ -1,24 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iputils
pkgver=20121221
-pkgrel=0
+pkgrel=1
pkgdesc="IP Configuration Utilities (and Ping)"
url="http://www.linuxfoundation.org/en/Net:Iputils"
arch="all"
-license="GPL"
-install=
-depends=
+license="BSD"
+install=""
+depends=""
makedepends="libcap-dev openssl-dev"
replaces="bbsuid"
source="http://www.skbuff.net/$pkgname/$pkgname-s$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-s$pkgver
build() {
- cd "$srcdir"/$pkgname-s$pkgver
+ cd "$_builddir"
make USE_GNUTLS=no KERNEL_INCLUDE=/usr/include || return 1
}
package() {
- cd "$srcdir"/$pkgname-s$pkgver
+ cd "$_builddir"
for i in arping clockdiff ipg rarpd rdisc tftpd tracepath tracepath6; do
install -D -m755 $i "$pkgdir"/usr/sbin/$i
done
@@ -26,6 +27,7 @@ package() {
install -D -m4755 $i "$pkgdir"/bin/$i
done
}
+
md5sums="6072aef64205720dd1893b375e184171 iputils-s20121221.tar.bz2"
sha256sums="450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f iputils-s20121221.tar.bz2"
sha512sums="693d240becd766c345c3af2053fc0699b9358e54d667d40738c21d731b70e779112d81476a220d8300ca54250120385414a13610d445996f95a90571047389f4 iputils-s20121221.tar.bz2"