summaryrefslogtreecommitdiffstats
path: root/net-tools/Pkgfile
blob: cf0734b4096f7e3ebff55726cf8c7f519dad65ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Collection de programmes pour gérer les connections réseaux
# URL: http://www.tazenda.demon.co.uk
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:

name=net-tools
version=1.60
release=20101030-1
source=(http://anduin.linuxfromscratch.org/sources/BLFS/svn/n/net-tools-CVS_${release%-*}.tar.gz)

build() {
	unset MAKEFLAGS
	cd $name-CVS_${release%-*}
	yes "" | make config &&
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \
       -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h &&
sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \
       -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make
	make BASEDIR=$PKG update
}