Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux |
2 | # URL: http://linux-net.osdl.org/index.php/Iproute2 | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: db |
6 | ||
7 | name=iproute2 | |
08138763 | 8 | version=2.6.38 |
370189bf | 9 | release=1 |
6dca1d21 JB |
10 | source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2 \ |
11 | net.iproute2) | |
12 | ||
13 | build() { | |
14 | cd $name-$version | |
28439a6c | 15 | |
28439a6c JB |
16 | sed -i "s|gcc |$CC $CFLAGS|g" configure |
17 | ||
18 | make DBM_INCLUDE="$CLFS/usr/include" CC="$CC $CFLAGS" | |
6dca1d21 | 19 | make MANDIR=/usr/man DESTDIR=$PKG install |
28439a6c | 20 | |
d648e102 | 21 | rm -r $PKG/share |
6dca1d21 JB |
22 | install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net |
23 | } |