wok-next annotate 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 |
rev | line source |
---|---|
gokhlayeh@5824 | 1 # SliTaz package receipt. |
gokhlayeh@5824 | 2 |
gokhlayeh@5824 | 3 PACKAGE="hostapd" |
Hans-G?nter@21190 | 4 VERSION="2.8" |
gokhlayeh@5824 | 5 CATEGORY="network" |
Hans-G?nter@21190 | 6 SHORT_DESC="Daemon for wireless software access points." |
Hans-G?nter@21190 | 7 MAINTAINER="developer@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@21190 | 9 WEB_SITE="http://hostap.epitest.fi/hostapd" |
al@21020 | 10 |
gokhlayeh@5824 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5824 | 12 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" |
gokhlayeh@5824 | 13 |
pankso@10745 | 14 BUILD_DEPENDS="openssl-dev libnl-dev" |
pankso@10745 | 15 |
al@21020 | 16 compile_rules() { |
al@21020 | 17 cd $src/hostapd |
al@21020 | 18 cp -a $stuff/config .config |
al@21020 | 19 sed -i "s|/usr/local/bin|/usr/bin|" Makefile |
al@21020 | 20 |
al@21020 | 21 make && |
al@21020 | 22 make DESTDIR=$install install |
pankso@10746 | 23 } |
gokhlayeh@5824 | 24 |
al@21020 | 25 genpkg_rules() { |
pankso@10746 | 26 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd |
al@21020 | 27 |
pascal@13400 | 28 cp -a $stuff/hostapd $fs/etc/init.d && |
slaxemulator@8637 | 29 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \ |
slaxemulator@8637 | 30 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \ |
slaxemulator@8637 | 31 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \ |
slaxemulator@8637 | 32 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \ |
slaxemulator@8637 | 33 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \ |
pascal@13400 | 34 $fs/etc/hostapd && |
pascal@15002 | 35 cp -a $install/usr/bin $fs/usr |
al@21020 | 36 DEPENDS="openssl libnl" |
gokhlayeh@5824 | 37 } |