wok view hostapd/receipt @ rev 24486
updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 16:54:18 2022 +0100 (2022-02-18) |
parents | def8459358ed |
children | 85d57ffe7860 |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/hostapd &&
28 cp -a $stuff/config .config &&
29 sed -i "s|/usr/local/bin|/usr/bin|" Makefile &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd
37 mkdir -p $install/usr/share/man $install/usr/share/doc
39 cp -a $src/hostapd/*.[1-8] $install/usr/share/man
40 cp -a $src/hostapd/README* $install/usr/share/doc
41 cp -a $src/hostapd/ChangeLog $install/usr/share/doc
42 cp -a $src/hostapd/*.conf $install/usr/share/doc
43 cp -a $src/hostapd/*.txt $install/usr/share/doc
44 cp -a $stuff/hostapd $fs/etc/init.d &&
45 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \
46 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \
47 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \
48 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \
49 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \
50 $fs/etc/hostapd &&
51 cp -a $install/usr/bin $fs/usr
52 }