wok-next view coova-chilli/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 757d032c55c7 |
children | d5aab818505e |
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="http://www.coova.org/CoovaChilli"
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="coova-chilli-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=$DESTDIR 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 }