wok-6.x diff hostapd/receipt @ rev 6209
Fix: transmission. Added libevent has depend and libevent, libevent-dev as build_deps.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 11 09:15:37 2010 +0000 (2010-09-11) |
parents | |
children | a16b5a11ef01 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/hostapd/receipt Sat Sep 11 09:15:37 2010 +0000 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="hostapd" 1.7 +VERSION="0.6.10" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Daemon for wireless software access points." 1.10 +MAINTAINER="gokhlayeh@mailoo.org" 1.11 +DEPENDS="openssl libnl" 1.12 +BUILD_DEPENDS="openssl-dev libnl-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://hostap.epitest.fi/hostapd/" 1.15 +WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cp -a stuff/config $src/hostapd/.config 1.21 + mkdir -p $src/_pkg/usr/bin 1.22 + 1.23 + cd $src/hostapd 1.24 + 1.25 + sed -i "s|/usr/local/bin|$src/_pkg/usr/bin|" Makefile 1.26 + 1.27 + make && make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr $fs/etc/hostapd $fs/etc/init.d 1.34 + 1.35 + cp -a $_pkg/usr/bin $fs/usr 1.36 + 1.37 + cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \ 1.38 + $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \ 1.39 + $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \ 1.40 + $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \ 1.41 + $src/hostapd/wired.conf $src/src/hlr_auc_gw/hlr_auc_gw.milenage_db \ 1.42 + $fs/etc/hostapd 1.43 + 1.44 + cp -a stuff/hostapd $fs/etc/init.d 1.45 +}