aboutsummaryrefslogtreecommitdiffstats
path: root/main/coova-chilli
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-28 22:06:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:18 +0000
commit70c401a43e62a5a2b4b8e25c75c2271227f2cefe (patch)
tree71d1318bb09ddba3903f7bbbf9231b8acafcd354 /main/coova-chilli
parent039d1e3af654c79c7beb8d93ba19ea96ed1e099a (diff)
downloadaports-70c401a43e62a5a2b4b8e25c75c2271227f2cefe.tar.bz2
aports-70c401a43e62a5a2b4b8e25c75c2271227f2cefe.tar.xz
main/coova-chilli: specify license
Diffstat (limited to 'main/coova-chilli')
-rw-r--r--main/coova-chilli/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/coova-chilli/APKBUILD b/main/coova-chilli/APKBUILD
index 428d9db775..b79cd77ddb 100644
--- a/main/coova-chilli/APKBUILD
+++ b/main/coova-chilli/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=coova-chilli
pkgver=1.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="CoovaChilli is an open source access controller for wireless LAN"
url="http://www.coova.org/"
arch="all"
-license="GPL"
-depends=
+license="GPL3+"
+depends=""
makedepends="perl openssl-dev autoconf automake libtool curl-dev"
install="$pkgname.pre-install"
pkgusers="chilli"
@@ -19,7 +19,6 @@ source="http://ap.coova.org/chilli/coova-chilli-$pkgver.tar.gz
"
_builddir="$srcdir/$pkgname-$pkgver"
-
prepare() {
cd $_builddir
update_config_sub || return 1
@@ -66,17 +65,16 @@ build() {
--enable-curl \
--enable-largelimits \
|| return 1
-
export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable"
- make -j1 || return 1
+ make -j1 || return 1
}
package() {
cd $_builddir
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
- install -D -m755 ../../chilli.initd $pkgdir/etc/init.d/chilli
- install -D -m755 ../../chilli.confd $pkgdir/etc/conf.d/chilli
+ install -D -m755 ../../chilli.initd $pkgdir/etc/init.d/chilli || return 1
+ install -D -m755 ../../chilli.confd $pkgdir/etc/conf.d/chilli || return 1
mkdir -p $pkgdir/var/run/chilli
chown -R chilli:chilli $pkgdir/var/run/chilli
}