wok diff coova-chilli/receipt @ rev 19335

Up tazpanel (595)
author Richard Dunbar <mojo@slitaz.org>
date Sun Jul 17 20:47:30 2016 -0400 (2016-07-17)
parents
children 8e449fe1df2e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/coova-chilli/receipt	Sun Jul 17 20:47:30 2016 -0400
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="coova-chilli"
     1.7 +VERSION="1.3.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Captive portal or wireless LAN access point controller."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.coova.org/CoovaChilli"
    1.14 +WGET_URL="http://ap.coova.org/chilli/$TARBALL"
    1.15 +
    1.16 +DEBENDS="libssl curl libidn"
    1.17 +BUILD_DEPENDS="openssl-dev curl-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure  --prefix=/usr --mandir=/usr/share/man \
    1.23 +		--infodir=/usr/share/info \
    1.24 +		--sysconfdir=/etc --localstatedir=/var --enable-largelimits \
    1.25 +		--enable-binstatusfile --enable-statusfile --enable-chilliproxy \
    1.26 +		--enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \
    1.27 +		--with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \
    1.28 +		--enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \
    1.29 +		--enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \
    1.30 +		--enable-chilliscript --enable-eapol --enable-uamdomainfile \
    1.31 +		--enable-modules --enable-multiroute \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$DESTDIR install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/lib/coova-chilli
    1.41 +	cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
    1.42 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    1.43 +	cp -a $install/usr/sbin $fs/usr/
    1.44 +	cp -a $install/etc $fs/
    1.45 +}