wok-next annotate hostapd/receipt @ rev 8243
Up: slitaz-base-files 4.1.2, tazpkg 4.2.3
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Jan 28 23:10:49 2011 +0100 (2011-01-28) |
parents | a16b5a11ef01 |
children | b155db5655e0 |
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 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 } |