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"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.chillispot.info/"
WGET_URL="${WEB_SITE}download/$TARBALL"
CONFIG_FILES="/etc/chilli.conf"

# What is the latest version available today?
current_version()
{
    wget -O - http://www.chillispot.org/download.html 2>/dev/null | \
    sed '/Released/!d;s|.*hillispot ||;s| Released.*||;q'
}

# 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=$DESTDIR 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 $install/usr/sbin $fs/usr
    cp $src/doc/chilli.conf $fs/etc
    cp $stuff/chilli $fs/etc/init.d
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)