blob: 518bccd6651191056793b24f43ab553b03fb40fc (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iputils
pkgver=20121126
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 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="520f0ce93fbe0cfada6ed65cd06c227c iputils-s20121126.tar.bz2"
|