wok-next view hostapd/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hostapd"
4 VERSION="2.8"
5 CATEGORY="network"
6 SHORT_DESC="Daemon for wireless software access points."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://hostap.epitest.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 }