wok view hostapd/receipt @ rev 16585

Add fritzing (let creat electronics shems for PiClass)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 04 14:12:00 2014 +0200 (2014-05-04)
parents 4f3e82a679d0
children 497a94b577b4
line source
1 # SliTaz package receipt.
3 PACKAGE="hostapd"
4 VERSION="2.1"
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 }