wok-4.x view hostapd/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | f4ab8a128b6f |
children | af022550edde |
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@mailoo.org"
8 DEPENDS="openssl libnl"
9 BUILD_DEPENDS="openssl-dev libnl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://hostap.epitest.fi/hostapd/"
12 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cp -a stuff/config $src/hostapd/.config
18 mkdir -p $src/_pkg/usr/bin
20 cd $src/hostapd
22 sed -i "s|/usr/local/bin|$src/_pkg/usr/bin|" Makefile
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc/hostapd $fs/etc/init.d
32 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \
35 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \
36 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \
37 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \
38 $src/hostapd/wired.conf $src/src/hlr_auc_gw/hlr_auc_gw.milenage_db \
39 $fs/etc/hostapd
41 cp -a stuff/hostapd $fs/etc/init.d
42 }