wok diff hostapd/receipt @ rev 13122

amsn: Update deps and add patch to fix build.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 21:41:20 2012 +0000 (2012-07-04)
parents 50879362c14d
children 70b94e047471
line diff
     1.1 --- a/hostapd/receipt	Mon May 30 11:03:56 2011 +0200
     1.2 +++ b/hostapd/receipt	Wed Jul 04 21:41:20 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