wok-next annotate coova-chilli/receipt @ rev 21326
updated libqmi (1.20.0 -> 1.24.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 12 15:18:23 2019 +0100 (2019-12-12) |
parents | 5feee5b36dd1 |
children |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pascal@18274 | 2 |
pascal@18274 | 3 PACKAGE="coova-chilli" |
Hans-G?nter@21243 | 4 VERSION="1.5" |
pascal@18274 | 5 CATEGORY="network" |
al@20464 | 6 SHORT_DESC="Captive portal or wireless LAN access point controller" |
pascal@18274 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18274 | 8 LICENSE="GPL3" |
al@21020 | 9 WEB_SITE="https://coova.github.io/" |
al@20464 | 10 |
pascal@18274 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21243 | 12 #WGET_URL="http://ap.coova.org/chilli/$TARBALL" |
Hans-G?nter@21243 | 13 WGET_URL="https://github.com/coova/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@18274 | 14 |
Hans-G?nter@21244 | 15 BUILD_DEPENDS="autoconf automake curl-dev openssl-dev perl" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pascal@18274 | 17 |
Hans-G?nter@21243 | 18 compile_rules() |
Hans-G?nter@21243 | 19 { |
Hans-G?nter@21243 | 20 sed -i 's|return -1; safe_close|return -1;\n safe_close|' \ |
Hans-G?nter@21243 | 21 src/redir.c |
Hans-G?nter@21243 | 22 sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' \ |
Hans-G?nter@21243 | 23 src/garden.c |
al@20569 | 24 |
Hans-G?nter@21244 | 25 ./bootstrap && |
Hans-G?nter@21243 | 26 ./configure \ |
Hans-G?nter@21243 | 27 --enable-largelimits \ |
Hans-G?nter@21243 | 28 --enable-binstatusfile \ |
Hans-G?nter@21243 | 29 --enable-statusfile \ |
Hans-G?nter@21243 | 30 --enable-chilliproxy \ |
Hans-G?nter@21243 | 31 --enable-chilliradsec \ |
Hans-G?nter@21243 | 32 --enable-chilliredir \ |
Hans-G?nter@21243 | 33 --with-openssl \ |
Hans-G?nter@21243 | 34 --with-curl \ |
Hans-G?nter@21243 | 35 --with-poll \ |
Hans-G?nter@21243 | 36 --enable-dhcpopt \ |
Hans-G?nter@21243 | 37 --enable-sessgarden \ |
Hans-G?nter@21243 | 38 --enable-dnslog \ |
Hans-G?nter@21243 | 39 --enable-ipwhitelist \ |
Hans-G?nter@21243 | 40 --enable-redirdnsreq \ |
Hans-G?nter@21243 | 41 --enable-miniconfig \ |
Hans-G?nter@21243 | 42 --enable-libjson \ |
Hans-G?nter@21243 | 43 --enable-layer3 \ |
Hans-G?nter@21243 | 44 --enable-proxyvsa \ |
Hans-G?nter@21243 | 45 --enable-miniportal \ |
Hans-G?nter@21243 | 46 --enable-chilliscript \ |
Hans-G?nter@21243 | 47 --enable-eapol \ |
Hans-G?nter@21243 | 48 --enable-uamdomainfile \ |
Hans-G?nter@21243 | 49 --enable-modules \ |
Hans-G?nter@21243 | 50 --enable-multiroute \ |
pascal@18274 | 51 $CONFIGURE_ARGS && |
al@20569 | 52 fix libtool && |
pascal@18274 | 53 make && |
al@21020 | 54 make DESTDIR=$install install |
pascal@18274 | 55 } |
pascal@18274 | 56 |
Hans-G?nter@21243 | 57 genpkg_rules() |
Hans-G?nter@21243 | 58 { |
al@20464 | 59 case $PACKAGE in |
al@20464 | 60 coova-chilli) |
al@20534 | 61 copy @std |
Hans-G?nter@21243 | 62 DEPENDS="curl libidn openssl" |
al@20464 | 63 ;; |
al@20464 | 64 *-dev) |
al@20534 | 65 copy @dev |
al@20464 | 66 ;; |
al@20464 | 67 esac |
pascal@18274 | 68 } |