wok-next annotate 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
rev   line source
gokhlayeh@5824 1 # SliTaz package receipt.
gokhlayeh@5824 2
gokhlayeh@5824 3 PACKAGE="hostapd"
pascal@16805 4 VERSION="2.2"
gokhlayeh@5824 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Daemon for wireless software access points"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://w1.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 }