wok-6.x view hostapd/receipt @ rev 19722

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