wok-current view chillispot/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents a1644dbcf632
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="chillispot"
4 VERSION="1.1.0"
5 CATEGORY="network"
6 SHORT_DESC="Captive portal or wireless LAN access point controller."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.chillispot.info/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
12 CONFIG_FILES="/etc/chilli.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/) defined (/) || defined (/' src/tun.c
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
28 cp -a $install/usr/sbin $fs/usr
29 cp $src/doc/chilli.conf $fs/etc
30 cp $stuff/chilli $fs/etc/init.d
31 }