wok-6.x annotate hostapd/receipt @ rev 11057
pan: Compile with $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 23:26:30 2011 +0000 (2011-10-16) |
parents | b05d31223509 |
children | 147040c6687d |
rev | line source |
---|---|
gokhlayeh@5824 | 1 # SliTaz package receipt. |
gokhlayeh@5824 | 2 |
gokhlayeh@5824 | 3 PACKAGE="hostapd" |
gokhlayeh@6342 | 4 VERSION="0.7.3" |
gokhlayeh@5824 | 5 CATEGORY="network" |
gokhlayeh@5824 | 6 SHORT_DESC="Daemon for wireless software access points." |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@5824 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5824 | 9 WEB_SITE="http://hostap.epitest.fi/hostapd/" |
gokhlayeh@5824 | 10 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" |
gokhlayeh@5824 | 11 |
pankso@10745 | 12 DEPENDS="openssl libnl" |
pankso@10745 | 13 BUILD_DEPENDS="openssl-dev libnl-dev" |
pankso@10745 | 14 |
gokhlayeh@5824 | 15 # Rules to configure and make the package. |
gokhlayeh@5824 | 16 compile_rules() |
gokhlayeh@5824 | 17 { |
pankso@10745 | 18 cp -a $stuff/config $src/hostapd/.config |
slaxemulator@8637 | 19 mkdir -p $DESTDIR/usr/bin |
pankso@10746 | 20 cd $src/hostapd |
pankso@10746 | 21 sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile && |
pankso@10746 | 22 make && make DESTDIR=$DESTDIR install |
pankso@10746 | 23 } |
gokhlayeh@5824 | 24 |
pankso@10746 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10746 | 26 genpkg_rules() |
pankso@10746 | 27 { |
pankso@10746 | 28 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd |
gokhlayeh@5824 | 29 |
slaxemulator@8637 | 30 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \ |
slaxemulator@8637 | 31 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \ |
slaxemulator@8637 | 32 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \ |
slaxemulator@8637 | 33 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \ |
slaxemulator@8637 | 34 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \ |
pankso@10746 | 35 $fs/etc/hostapd |
pankso@10746 | 36 |
gokhlayeh@5824 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@10745 | 38 cp -a $stuff/hostapd $fs/etc/init.d |
gokhlayeh@5824 | 39 } |