wok-current view hostapd/receipt @ rev 22246
updated xorg-x11perf (1.5.2 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 16:14:48 2019 +0100 (2019-11-12) |
parents | f7a13af08fc7 |
children | af8d823a3077 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hostapd"
4 VERSION="2.9"
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="https://w1.fi/hostapd"
11 WGET_URL="${WEB_SITE%/*}/releases/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="openssl libnl"
15 BUILD_DEPENDS="openssl-dev libnl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/hostapd &&
21 cp -a $stuff/config .config &&
22 sed -i "s|/usr/local/bin|/usr/bin|" Makefile &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd
30 mkdir -p $install/usr/share/man $install/usr/share/doc
32 cp -a $src/hostapd/*.[1-8] $install/usr/share/man
33 cp -a $src/hostapd/README* $install/usr/share/doc
34 cp -a $src/hostapd/ChangeLog $install/usr/share/doc
35 cp -a $src/hostapd/*.conf $install/usr/share/doc
36 cp -a $src/hostapd/*.txt $install/usr/share/doc
37 cp -a $stuff/hostapd $fs/etc/init.d &&
38 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \
39 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \
40 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \
41 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \
42 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \
43 $fs/etc/hostapd &&
44 cp -a $install/usr/bin $fs/usr
45 }