wok-next annotate hostapd/receipt @ rev 16805
Up hastapd (2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 06 10:56:03 2014 +0200 (2014-07-06) |
parents | fa39e0a3612e |
children | c4e53a39395a |
rev | line source |
---|---|
gokhlayeh@5824 | 1 # SliTaz package receipt. |
gokhlayeh@5824 | 2 |
gokhlayeh@5824 | 3 PACKAGE="hostapd" |
pascal@16805 | 4 VERSION="2.2" |
gokhlayeh@5824 | 5 CATEGORY="network" |
gokhlayeh@5824 | 6 SHORT_DESC="Daemon for wireless software access points." |
pankso@16395 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
gokhlayeh@5824 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5824 | 10 WEB_SITE="http://hostap.epitest.fi/hostapd/" |
gokhlayeh@5824 | 11 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" |
pankso@16395 | 12 HOST_ARCH="i486 arm" |
gokhlayeh@5824 | 13 |
pankso@10745 | 14 DEPENDS="openssl libnl" |
pankso@10745 | 15 BUILD_DEPENDS="openssl-dev libnl-dev" |
pankso@10745 | 16 |
gokhlayeh@5824 | 17 # Rules to configure and make the package. |
gokhlayeh@5824 | 18 compile_rules() |
gokhlayeh@5824 | 19 { |
pankso@16395 | 20 cd $src/hostapd && |
pankso@16395 | 21 cp -a $stuff/config .config && |
pankso@16395 | 22 sed -i "s|/usr/local/bin|/usr/bin|" Makefile && |
pankso@10746 | 23 make && make DESTDIR=$DESTDIR install |
pankso@10746 | 24 } |
gokhlayeh@5824 | 25 |
pankso@10746 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10746 | 27 genpkg_rules() |
pankso@10746 | 28 { |
pankso@10746 | 29 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd |
gokhlayeh@5824 | 30 |
pascal@13400 | 31 cp -a $stuff/hostapd $fs/etc/init.d && |
slaxemulator@8637 | 32 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \ |
slaxemulator@8637 | 33 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \ |
slaxemulator@8637 | 34 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \ |
slaxemulator@8637 | 35 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \ |
slaxemulator@8637 | 36 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \ |
pascal@13400 | 37 $fs/etc/hostapd && |
pascal@15002 | 38 cp -a $install/usr/bin $fs/usr |
gokhlayeh@5824 | 39 } |