wok-6.x view hostapd/receipt @ rev 12511
Up: xorg-libXau, xorg-libXaw + clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 24 23:28:40 2012 +0200 (2012-04-24) |
parents | b05d31223509 |
children | 147040c6687d |
line source
1 # SliTaz package receipt.
3 PACKAGE="hostapd"
4 VERSION="0.7.3"
5 CATEGORY="network"
6 SHORT_DESC="Daemon for wireless software access points."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://hostap.epitest.fi/hostapd/"
10 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL"
12 DEPENDS="openssl libnl"
13 BUILD_DEPENDS="openssl-dev libnl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cp -a $stuff/config $src/hostapd/.config
19 mkdir -p $DESTDIR/usr/bin
20 cd $src/hostapd
21 sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd
30 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \
31 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \
32 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \
33 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \
34 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \
35 $fs/etc/hostapd
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $stuff/hostapd $fs/etc/init.d
39 }