wok annotate hostapd/receipt @ rev 5824

Add: hostapd 0.6.10
author Antoine Bodin <gokhlayeh@mailoo.org>
date Thu Jul 15 22:52:54 2010 +0200 (2010-07-15)
parents
children a16b5a11ef01
rev   line source
gokhlayeh@5824 1 # SliTaz package receipt.
gokhlayeh@5824 2
gokhlayeh@5824 3 PACKAGE="hostapd"
gokhlayeh@5824 4 VERSION="0.6.10"
gokhlayeh@5824 5 CATEGORY="network"
gokhlayeh@5824 6 SHORT_DESC="Daemon for wireless software access points."
gokhlayeh@5824 7 MAINTAINER="gokhlayeh@mailoo.org"
gokhlayeh@5824 8 DEPENDS="openssl libnl"
gokhlayeh@5824 9 BUILD_DEPENDS="openssl-dev libnl-dev"
gokhlayeh@5824 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@5824 11 WEB_SITE="http://hostap.epitest.fi/hostapd/"
gokhlayeh@5824 12 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL"
gokhlayeh@5824 13
gokhlayeh@5824 14 # Rules to configure and make the package.
gokhlayeh@5824 15 compile_rules()
gokhlayeh@5824 16 {
gokhlayeh@5824 17 cp -a stuff/config $src/hostapd/.config
gokhlayeh@5824 18 mkdir -p $src/_pkg/usr/bin
gokhlayeh@5824 19
gokhlayeh@5824 20 cd $src/hostapd
gokhlayeh@5824 21
gokhlayeh@5824 22 sed -i "s|/usr/local/bin|$src/_pkg/usr/bin|" Makefile
gokhlayeh@5824 23
gokhlayeh@5824 24 make && make DESTDIR=$PWD/_pkg install
gokhlayeh@5824 25 }
gokhlayeh@5824 26
gokhlayeh@5824 27 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5824 28 genpkg_rules()
gokhlayeh@5824 29 {
gokhlayeh@5824 30 mkdir -p $fs/usr $fs/etc/hostapd $fs/etc/init.d
gokhlayeh@5824 31
gokhlayeh@5824 32 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@5824 33
gokhlayeh@5824 34 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \
gokhlayeh@5824 35 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \
gokhlayeh@5824 36 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \
gokhlayeh@5824 37 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \
gokhlayeh@5824 38 $src/hostapd/wired.conf $src/src/hlr_auc_gw/hlr_auc_gw.milenage_db \
gokhlayeh@5824 39 $fs/etc/hostapd
gokhlayeh@5824 40
gokhlayeh@5824 41 cp -a stuff/hostapd $fs/etc/init.d
gokhlayeh@5824 42 }