wok-stable view hostapd/receipt @ rev 11788
evince: added desktop file, description; clicking help goes to www
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Feb 24 12:04:54 2012 -0800 (2012-02-24) |
parents | b05d31223509 |
children |
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 }