wok view hostapd/receipt @ rev 21587

remove setuptools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 20 16:42:53 2019 +0200 (2019-05-20)
parents acc2a192ab9d
children f7a13af08fc7
line source
1 # SliTaz package receipt.
3 PACKAGE="hostapd"
4 VERSION="2.7"
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"
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 }