SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "chillispot"

# SliTaz package receipt.

PACKAGE="chillispot"
VERSION="1.1.0"
CATEGORY="network"
SHORT_DESC="Captive portal or wireless LAN access point controller."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.chillispot.info/"
WGET_URL="${WEB_SITE}download/$TARBALL"
CONFIG_FILES="/etc/chilli.conf"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i 's/) defined (/) || defined (/' src/tun.c
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
    make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $fs/etc/init.d $fs/var/lib/chilli/
    cp -a $_pkg/usr/sbin $fs/usr
    cp $src/doc/chilli.conf $fs/etc
    cp $stuff/chilli $fs/etc/init.d
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)