diff options
-rw-r--r-- | abs/core/wireless_tools/PKGBUILD | 44 | ||||
-rw-r--r-- | abs/core/wireless_tools/wireless.conf.d | 12 |
2 files changed, 23 insertions, 33 deletions
diff --git a/abs/core/wireless_tools/PKGBUILD b/abs/core/wireless_tools/PKGBUILD index cb68362..cb6de3c 100644 --- a/abs/core/wireless_tools/PKGBUILD +++ b/abs/core/wireless_tools/PKGBUILD @@ -1,27 +1,29 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Judd Vinet <jvinet@zeroflux.org> -# Contributer: Jason Chu <jchu@xentac.net> +# $Id: PKGBUILD 147661 2012-01-26 03:32:18Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Jason Chu <jchu@xentac.net> + pkgname=wireless_tools pkgver=29 -pkgrel=2 -pkgdesc="Wireless Tools" -arch=(i686 x86_64) -url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" +pkgrel=6 +pkgdesc='Wireless Tools' +url='http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html' +arch=('i686' 'x86_64') license=('GPL') -depends=('glibc') -backup=('etc/conf.d/wireless') -source=(http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz wireless.conf.d) -md5sums=('e06c222e186f7cc013fd272d023710cb' - '027576534885b8d5dded9be546057b12') +source=("http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${pkgname}.${pkgver}.tar.gz") +sha1sums=('22040ac1497f4c5f8ddeca365591b01ae3475710') build() { - cd $startdir/src/wireless_tools.29 - make || return 1 - mkdir -p $startdir/pkg/usr/sbin - mkdir -p $startdir/pkg/usr/lib - mkdir -p $startdir/pkg/usr/include - mkdir -p $startdir/pkg/usr/man/man8 -# make INSTALL_DIR=$startdir/pkg/usr/sbin/ INSTALL_LIB=$startdir/pkg/usr/lib/ INSTALL_INC=$startdir/pkg/usr/include/ INSTALL_MAN=$startdir/pkg/usr/man/ install - make PREFIX=$startdir/pkg/usr install - install -D -m644 ../wireless.conf.d $startdir/pkg/etc/conf.d/wireless + cd "${srcdir}/${pkgname}.${pkgver}" + make CFLAGS="${CFLAGS} -Wall -Wextra -I." LDFLAGS="${LDFLAGS}" +} + +package() { + cd "${srcdir}/${pkgname}.${pkgver}" + make \ + INSTALL_DIR="${pkgdir}/usr/sbin" \ + INSTALL_LIB="${pkgdir}/usr/lib" \ + INSTALL_INC="${pkgdir}/usr/include" \ + INSTALL_MAN="${pkgdir}/usr/share/man" \ + install } diff --git a/abs/core/wireless_tools/wireless.conf.d b/abs/core/wireless_tools/wireless.conf.d deleted file mode 100644 index 47540ef..0000000 --- a/abs/core/wireless_tools/wireless.conf.d +++ /dev/null @@ -1,12 +0,0 @@ -# -# Settings for wireless cards -# -# For each wireless interface declared in INTERFACES (in rc.conf), declare -# a wlan_${IF} variable that contains the arguments to be passed to -# iwconfig(8). Then list the original interface name in the -# WLAN_INTERFACES array. -# - -#wlan_eth0="eth0 mode managed essid default" -#WLAN_INTERFACES=(eth0) - |