wok-next view coova-chilli/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents 835b3b8ce6ac
children 5feee5b36dd1
line source
1 # SliTaz package receipt v2.
3 PACKAGE="coova-chilli"
4 VERSION="1.3.0"
5 CATEGORY="network"
6 SHORT_DESC="Captive portal or wireless LAN access point controller"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://coova.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ap.coova.org/chilli/$TARBALL"
14 BUILD_DEPENDS="openssl-dev curl-dev perl"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|return -1; safe_close|return -1;\n safe_close|' src/redir.c
19 sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' src/garden.c
21 ./configure \
22 --enable-largelimits \
23 --enable-binstatusfile \
24 --enable-statusfile \
25 --enable-chilliproxy \
26 --enable-chilliradsec \
27 --enable-chilliredir \
28 --with-openssl \
29 --with-curl \
30 --with-poll \
31 --enable-dhcpopt \
32 --enable-sessgarden \
33 --enable-dnslog \
34 --enable-ipwhitelist \
35 --enable-redirdnsreq \
36 --enable-miniconfig \
37 --enable-libjson \
38 --enable-layer3 \
39 --enable-proxyvsa \
40 --enable-miniportal \
41 --enable-chilliscript \
42 --enable-eapol \
43 --enable-uamdomainfile \
44 --enable-modules \
45 --enable-multiroute \
46 $CONFIGURE_ARGS &&
47 fix libtool &&
48 make &&
49 make DESTDIR=$install install
50 }
52 genpkg_rules() {
53 case $PACKAGE in
54 coova-chilli)
55 copy @std
56 DEPENDS="openssl curl libidn"
57 ;;
58 *-dev)
59 copy @dev
60 ;;
61 esac
62 }