wok-next view hostapd/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 497a94b577b4 |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="hostapd"
4 VERSION="2.2"
5 CATEGORY="network"
6 SHORT_DESC="Daemon for wireless software access points."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://hostap.epitest.fi/hostapd/"
11 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL"
13 DEPENDS="openssl libnl"
14 BUILD_DEPENDS="openssl-dev libnl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/hostapd &&
20 cp -a $stuff/config .config &&
21 sed -i "s|/usr/local/bin|/usr/bin|" Makefile &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd
30 cp -a $stuff/hostapd $fs/etc/init.d &&
31 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \
32 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \
33 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \
34 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \
35 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \
36 $fs/etc/hostapd &&
37 cp -a $install/usr/bin $fs/usr
38 }