wok-next view hostapd/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c4e53a39395a
children 8505f910e91a
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://w1.fi/hostapd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL"
14 BUILD_DEPENDS="openssl-dev libnl-dev"
16 compile_rules() {
17 cd $src/hostapd
18 cp -a $stuff/config .config
19 sed -i "s|/usr/local/bin|/usr/bin|" Makefile
21 make &&
22 make DESTDIR=$install install
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd
28 cp -a $stuff/hostapd $fs/etc/init.d &&
29 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \
30 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \
31 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \
32 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \
33 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \
34 $fs/etc/hostapd &&
35 cp -a $install/usr/bin $fs/usr
36 DEPENDS="openssl libnl"
37 }