blob: cb1ef6dcd581d1d59472261b9240133a31e37a55 (
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.20120804git
release=1
source=(http://ftp.archlinux.org/other/$name/$name-$version.tar.xz)
build() {
unset MAKEFLAGS
cd $name-$version
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
}
|