blob: defa6a5acba359c0859c359a6964dd20d72b1a0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iputils
pkgver=20121221
pkgrel=0
pkgdesc="IP Configuration Utilities (and Ping)"
url="http://www.linuxfoundation.org/en/Net:Iputils"
arch="all"
license="GPL"
install=
depends=
makedepends="libcap-dev openssl-dev"
replaces="bbsuid"
source="http://www.skbuff.net/$pkgname/$pkgname-s$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-s$pkgver
make USE_GNUTLS=no KERNEL_INCLUDE=/usr/include || return 1
}
package() {
cd "$srcdir"/$pkgname-s$pkgver
for i in arping clockdiff ipg rarpd rdisc tftpd tracepath tracepath6; do
install -D -m755 $i "$pkgdir"/usr/sbin/$i
done
for i in ping ping6 traceroute6; do
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"
|