wok rev 18274

Add coova-chilli
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 07 18:14:02 2015 +0200 (2015-08-07)
parents 3c1645f3a25f
children 0db9ed7c2097
files busybox/stuff/busybox-1.23.config coova-chilli-dev/receipt coova-chilli/receipt
line diff
     1.1 --- a/busybox/stuff/busybox-1.23.config	Fri Aug 07 12:15:29 2015 +0200
     1.2 +++ b/busybox/stuff/busybox-1.23.config	Fri Aug 07 18:14:02 2015 +0200
     1.3 @@ -733,7 +733,7 @@
     1.4  # CONFIG_MAN is not set
     1.5  CONFIG_MICROCOM=y
     1.6  CONFIG_MOUNTPOINT=y
     1.7 -# CONFIG_MT is not set
     1.8 +CONFIG_MT=y
     1.9  CONFIG_RAIDAUTORUN=y
    1.10  # CONFIG_READAHEAD is not set
    1.11  # CONFIG_RUNLEVEL is not set
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/coova-chilli-dev/receipt	Fri Aug 07 18:14:02 2015 +0200
     2.3 @@ -0,0 +1,22 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="coova-chilli-dev"
     2.7 +VERSION="1.3.0"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Captive portal or wireless LAN access point controller, development files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE=""
    2.12 +WEB_SITE="http://www.coova.org/CoovaChilli"
    2.13 +WANTED="coova-chilli"
    2.14 +
    2.15 +DEPENDS="coova-chilli"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib/coova-chilli
    2.21 +	cp -a $install/usr/lib/coova-chilli/*a $fs/usr/lib/
    2.22 +	cp -a $install/usr/lib/*a $fs/usr/lib/
    2.23 +	cp -a $install/usr/lib/python $fs/usr/lib/
    2.24 +	cp -a $install/usr/include $fs/usr/
    2.25 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/coova-chilli/receipt	Fri Aug 07 18:14:02 2015 +0200
     3.3 @@ -0,0 +1,42 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="coova-chilli"
     3.7 +VERSION="1.3.0"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="Captive portal or wireless LAN access point controller."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL3"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://www.coova.org/CoovaChilli"
    3.14 +WGET_URL="http://ap.coova.org/chilli/$TARBALL"
    3.15 +
    3.16 +DEBENDS="libssl curl libidn"
    3.17 +BUILD_DEPENDS="openssl-dev curl-dev"
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	./configure  --prefix=/usr --mandir=/usr/share/man \
    3.23 +		--infodir=/usr/share/info \
    3.24 +		--sysconfdir=/etc --localstatedir=/var --enable-largelimits \
    3.25 +		--enable-binstatusfile --enable-statusfile --enable-chilliproxy \
    3.26 +		--enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \
    3.27 +		--with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \
    3.28 +		--enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \
    3.29 +		--enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \
    3.30 +		--enable-chilliscript --enable-eapol --enable-uamdomainfile \
    3.31 +		--enable-modules --enable-multiroute \
    3.32 +		$CONFIGURE_ARGS &&
    3.33 +	make &&
    3.34 +	make DESTDIR=$DESTDIR install
    3.35 +}
    3.36 +
    3.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.38 +genpkg_rules()
    3.39 +{
    3.40 +	mkdir -p $fs/usr/lib/coova-chilli
    3.41 +	cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
    3.42 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    3.43 +	cp -a $install/usr/sbin $fs/usr/
    3.44 +	cp -a $install/etc $fs/
    3.45 +}