summaryrefslogtreecommitdiff
path: root/community/hostapd/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-20 09:26:44 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-20 09:26:44 +0200
commit39c366b9fc1b83a741177d0b415a20147a18a3c0 (patch)
tree24b520a26e042f10306b53e0fb579bab6343132b /community/hostapd/PKGBUILD
parent6d3d853af3b9042559c2d86a7e3907f97921fb28 (diff)
parentaad2fba0fc475162b566f1577d8e7a020cd9e80d (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/libcss/PKGBUILD extra/kdenetwork/PKGBUILD extra/xorg-server/PKGBUILD testing/openmpi/PKGBUILD testing/xf86-video-ati/PKGBUILD testing/xorg-server/PKGBUILD
Diffstat (limited to 'community/hostapd/PKGBUILD')
-rw-r--r--community/hostapd/PKGBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/community/hostapd/PKGBUILD b/community/hostapd/PKGBUILD
index a52740de9..54ca1c75b 100644
--- a/community/hostapd/PKGBUILD
+++ b/community/hostapd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 67614 2012-03-13 14:20:23Z spupykin $
+# $Id: PKGBUILD 70872 2012-05-18 10:00:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=hostapd
-pkgver=0.7.3
-pkgrel=8
+pkgver=1.0
+pkgrel=1
pkgdesc="daemon for wireless software access points"
arch=('i686' 'x86_64' 'mips64el')
url="http://hostap.epitest.fi/hostapd/"
@@ -25,25 +25,19 @@ backup=('etc/hostapd/hostapd.conf'
'etc/hostapd/wired.conf')
install=hostapd.install
source=(http://hostap.epitest.fi/releases/$pkgname-$pkgver.tar.gz
- hostap_allow-linking-with-libnl-3.2.patch
config
hostapd
hostapd.conf.d)
-md5sums=('91a7c8d0f090b7104152d3455a84c112'
- 'e904e62b12c5d64132dd9441e8b45dce'
+md5sums=('236247a7bbd4f60d5fa3e99849d1ffc9'
'5d7ee10b04e33f22c37be56a4c33dddb'
'd570327c385f34a4af24d3a0d61cea19'
'f169534b0f59b341f6df1a21e0344511')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i "$srcdir/hostap_allow-linking-with-libnl-3.2.patch"
-
- cd hostapd
+ cd "$srcdir/$pkgname-$pkgver"/hostapd
cp "$srcdir/config" ./.config
-
sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf
-
+ export CFLAGS="$CFLAGS `pkg-config --cflags libnl-3.0`"
make
}