summaryrefslogtreecommitdiff
path: root/core/wireless_tools/PKGBUILD
blob: 53ff7f242f750ed3c5a431ce877749d78ea7dd22 (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
29
30
31
32
# $Id: PKGBUILD 165574 2012-08-25 15:33:20Z 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=7
pkgdesc='Tools allowing to manipulate the Wireless Extensions'
url='http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
source=("http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${pkgname}.${pkgver}.tar.gz"
        'dense.patch')
sha1sums=('22040ac1497f4c5f8ddeca365591b01ae3475710'
          '5c297c7dff1ec1d2a3d918c20622ab3c6daf5b72')

build() {
	cd "${srcdir}/${pkgname}.${pkgver}"
	patch -p1 -i ../dense.patch # FS#15363
	make CFLAGS="${CFLAGS} -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
}