wok-6.x annotate hostapd/receipt @ rev 23582
updated python-webtest (1.2.2 -> 2.0.34)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 13:58:56 2020 +0100 (2020-04-07) |
parents | f7a13af08fc7 |
children | af8d823a3077 |
rev | line source |
---|---|
gokhlayeh@5824 | 1 # SliTaz package receipt. |
gokhlayeh@5824 | 2 |
gokhlayeh@5824 | 3 PACKAGE="hostapd" |
pascal@21872 | 4 VERSION="2.9" |
gokhlayeh@5824 | 5 CATEGORY="network" |
gokhlayeh@5824 | 6 SHORT_DESC="Daemon for wireless software access points." |
pankso@16395 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
gokhlayeh@5824 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21872 | 10 WEB_SITE="https://w1.fi/hostapd" |
pascal@21872 | 11 WGET_URL="${WEB_SITE%/*}/releases/$TARBALL" |
pankso@16395 | 12 HOST_ARCH="i486 arm" |
gokhlayeh@5824 | 13 |
pankso@10745 | 14 DEPENDS="openssl libnl" |
pankso@10745 | 15 BUILD_DEPENDS="openssl-dev libnl-dev" |
pankso@10745 | 16 |
gokhlayeh@5824 | 17 # Rules to configure and make the package. |
gokhlayeh@5824 | 18 compile_rules() |
gokhlayeh@5824 | 19 { |
pankso@16395 | 20 cd $src/hostapd && |
pankso@16395 | 21 cp -a $stuff/config .config && |
pankso@16395 | 22 sed -i "s|/usr/local/bin|/usr/bin|" Makefile && |
pankso@10746 | 23 make && make DESTDIR=$DESTDIR install |
pankso@10746 | 24 } |
gokhlayeh@5824 | 25 |
pankso@10746 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10746 | 27 genpkg_rules() |
pankso@10746 | 28 { |
pankso@10746 | 29 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd |
pascal@20033 | 30 mkdir -p $install/usr/share/man $install/usr/share/doc |
gokhlayeh@5824 | 31 |
pascal@20033 | 32 cp -a $src/hostapd/*.[1-8] $install/usr/share/man |
pascal@20033 | 33 cp -a $src/hostapd/README* $install/usr/share/doc |
pascal@20033 | 34 cp -a $src/hostapd/ChangeLog $install/usr/share/doc |
pascal@20033 | 35 cp -a $src/hostapd/*.conf $install/usr/share/doc |
pascal@20033 | 36 cp -a $src/hostapd/*.txt $install/usr/share/doc |
pascal@13400 | 37 cp -a $stuff/hostapd $fs/etc/init.d && |
slaxemulator@8637 | 38 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \ |
slaxemulator@8637 | 39 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \ |
slaxemulator@8637 | 40 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \ |
slaxemulator@8637 | 41 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \ |
slaxemulator@8637 | 42 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \ |
pascal@13400 | 43 $fs/etc/hostapd && |
pascal@15002 | 44 cp -a $install/usr/bin $fs/usr |
gokhlayeh@5824 | 45 } |