aboutsummaryrefslogtreecommitdiffstats
path: root/testing/coova-chilli/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/coova-chilli/APKBUILD')
-rw-r--r--testing/coova-chilli/APKBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/testing/coova-chilli/APKBUILD b/testing/coova-chilli/APKBUILD
index ab84e37318..047c6fbf10 100644
--- a/testing/coova-chilli/APKBUILD
+++ b/testing/coova-chilli/APKBUILD
@@ -4,24 +4,28 @@
# TODO: fix init.d script
pkgname=coova-chilli
-pkgver=1.0.14
-pkgrel=2
+pkgver=1.2.2
+pkgrel=0
pkgdesc="CoovaChilli is an open source access controller for wireless LAN"
url="http://www.coova.org/"
license="GPL"
depends=
makedepends="perl openssl-dev autoconf automake libtool"
-install= #"coova-chilli.install"
+install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://ap.coova.org/chilli/coova-chilli-$pkgver.tar.gz
- coova-chilli-ssl.patch
- "
+ coova-chilli-ssl.patch"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd $_builddir
patch -p1 -i ../coova-chilli-ssl.patch || return 1
aclocal && autoconf && automake && libtoolize || return 1
+}
+build() {
+ cd $_builddir
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -34,9 +38,9 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $_builddir
make DESTDIR="$pkgdir" install
}
-md5sums="88774ec55f9943d174ea7dd26e85fd8a coova-chilli-1.0.14.tar.gz
-e4e94b06540c10caa750a590f3ec9ec6 coova-chilli-ssl.patch"
+md5sums="44042e26c3b3c6e64a9a8769328b437d coova-chilli-1.2.2.tar.gz
+4135e6e19bafdad777b8ca7388ff4101 coova-chilli-ssl.patch"