# Contributor: grharry # Maintainer: # TODO: fix init.d script pkgname=coova-chilli pkgver=1.0.14 pkgrel=2 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" subpackages="$pkgname-doc $pkgname-dev" source="http://ap.coova.org/chilli/coova-chilli-$pkgver.tar.gz coova-chilli-ssl.patch " build() { cd "$srcdir/$pkgname-$pkgver" patch -p1 -i ../coova-chilli-ssl.patch || return 1 aclocal && autoconf && automake && libtoolize || return 1 ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var/run \ --libdir=/usr/lib \ --sysconfdir=/etc \ --with-openssl make -j1 || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } md5sums="88774ec55f9943d174ea7dd26e85fd8a coova-chilli-1.0.14.tar.gz e4e94b06540c10caa750a590f3ec9ec6 coova-chilli-ssl.patch"