wok diff hostapd/receipt @ rev 16757

Up sshfs-fuse (2.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 16 20:36:28 2014 +0200 (2014-06-16)
parents 4f3e82a679d0
children 497a94b577b4
line diff
     1.1 --- a/hostapd/receipt	Tue Oct 29 16:34:13 2013 +0000
     1.2 +++ b/hostapd/receipt	Mon Jun 16 20:36:28 2014 +0200
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hostapd"
     1.7 -VERSION="1.0"
     1.8 +VERSION="2.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Daemon for wireless software access points."
    1.11 -MAINTAINER="gokhlayeh@slitaz.org"
    1.12 +MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://hostap.epitest.fi/hostapd/"
    1.16  WGET_URL="http://hostap.epitest.fi/releases/$TARBALL"
    1.17 +HOST_ARCH="i486 arm"
    1.18  
    1.19  DEPENDS="openssl libnl"
    1.20  BUILD_DEPENDS="openssl-dev libnl-dev"
    1.21 @@ -16,12 +17,9 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	patch -Np1 -i $stuff/hostap_allow-linking-with-libnl-3.2.patch || return 1
    1.26 -	cp -a $stuff/config $src/hostapd/.config
    1.27 -	mkdir -p $DESTDIR/usr/bin
    1.28 -	cd $src/hostapd
    1.29 -	sed -i "s|/usr/local/bin|/usr/bin|" Makefile
    1.30 -	export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)"
    1.31 +	cd $src/hostapd &&
    1.32 +	cp -a $stuff/config .config &&
    1.33 +	sed -i "s|/usr/local/bin|/usr/bin|" Makefile &&
    1.34  	make && make DESTDIR=$DESTDIR install
    1.35  }
    1.36