blob: 1c8f160d603399e43924771d4d19c6ad16055968 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iputils
pkgver=20100214
pkgrel=4
pkgdesc="IP Configuration Utilities (and Ping)"
url="http://www.linuxfoundation.org/en/Net:Iputils"
arch="all"
license="GPL"
install=
depends=
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="37596c8b3eed537294e77464b9804726 iputils-s20100214.tar.bz2"
|