From aad2fba0fc475162b566f1577d8e7a020cd9e80d Mon Sep 17 00:00:00 2001 From: root Date: Sun, 20 May 2012 00:04:49 +0000 Subject: Sun May 20 00:04:49 UTC 2012 --- community/hostapd/PKGBUILD | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'community/hostapd/PKGBUILD') diff --git a/community/hostapd/PKGBUILD b/community/hostapd/PKGBUILD index caa14c7c5..02d9efcfd 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 pkgname=hostapd -pkgver=0.7.3 -pkgrel=8 +pkgver=1.0 +pkgrel=1 pkgdesc="daemon for wireless software access points" arch=('i686' 'x86_64') 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 } -- cgit v1.2.3-54-g00ecf