wok-current annotate hostapd/receipt @ rev 21823

Add lxsession-lxpolkit (thanks Saipul)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 25 19:23:22 2019 +0200 (2019-08-25)
parents 049f668335a9
children def8459358ed
rev   line source
gokhlayeh@5824 1 # SliTaz package receipt.
gokhlayeh@5824 2
gokhlayeh@5824 3 PACKAGE="hostapd"
pascal@21772 4 VERSION="2.8"
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"
gokhlayeh@5824 10 WEB_SITE="http://hostap.epitest.fi/hostapd/"
gokhlayeh@5824 11 WGET_URL="http://hostap.epitest.fi/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 }