wok-6.x rev 12862

Up: hostapd to 1.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu May 24 21:09:25 2012 +0000 (2012-05-24)
parents b6cb56c17b0b
children 48c15e8cdc68
files hostapd/receipt hostapd/stuff/config
line diff
     1.1 --- a/hostapd/receipt	Thu May 24 20:50:37 2012 +0000
     1.2 +++ b/hostapd/receipt	Thu May 24 21:09:25 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hostapd"
     1.7 -VERSION="0.7.3"
     1.8 +VERSION="1.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Daemon for wireless software access points."
    1.11  MAINTAINER="gokhlayeh@slitaz.org"
    1.12 @@ -15,10 +15,12 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 +	patch -Np1 -i $stuff/hostap_allow-linking-with-libnl-3.2.patch
    1.17  	cp -a $stuff/config $src/hostapd/.config
    1.18  	mkdir -p $DESTDIR/usr/bin
    1.19  	cd $src/hostapd
    1.20 -	sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile &&
    1.21 +	sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile
    1.22 +	export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)"
    1.23  	make && make DESTDIR=$DESTDIR install
    1.24  }
    1.25  
     2.1 --- a/hostapd/stuff/config	Thu May 24 20:50:37 2012 +0000
     2.2 +++ b/hostapd/stuff/config	Thu May 24 21:09:25 2012 +0000
     2.3 @@ -90,3 +90,5 @@
     2.4  CONFIG_IPV6=y
     2.5  
     2.6  CONFIG_DRIVER_NL80211=y
     2.7 +
     2.8 +CONFIG_LIBNL32=y
     2.9 \ No newline at end of file