diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-31 10:40:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-12-31 16:02:15 +0000 |
commit | f829b49cc148a0b4c4f6c894690fbe4aa0ddc9c6 (patch) | |
tree | 25fe744273543435020d9910cd40ec55bd971f51 /main/coova-chilli/APKBUILD | |
parent | f2dbc3f997981c9e46b5782c46383950147add5f (diff) | |
download | aports-f829b49cc148a0b4c4f6c894690fbe4aa0ddc9c6.tar.bz2 aports-f829b49cc148a0b4c4f6c894690fbe4aa0ddc9c6.tar.xz |
main/coova-chilli: fix building against automake-1.13
Diffstat (limited to 'main/coova-chilli/APKBUILD')
-rw-r--r-- | main/coova-chilli/APKBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/main/coova-chilli/APKBUILD b/main/coova-chilli/APKBUILD index ba15b6fb94..4d26c34531 100644 --- a/main/coova-chilli/APKBUILD +++ b/main/coova-chilli/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=coova-chilli pkgver=1.2.9 -pkgrel=1 +pkgrel=2 pkgdesc="CoovaChilli is an open source access controller for wireless LAN" url="http://www.coova.org/" arch="all" @@ -12,18 +12,21 @@ makedepends="perl openssl-dev autoconf automake libtool curl-dev" install="$pkgname.pre-install $pkgname.post-install" subpackages="$pkgname-doc $pkgname-dev" source="http://ap.coova.org/chilli/coova-chilli-$pkgver.tar.gz - coova-chilli-ssl.patch" + automake.patch" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd $_builddir -# patch -p1 -i ../coova-chilli-ssl.patch || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done sed -i 's/-Werror//g' src/Makefile.am || return 1 - sed -i 's/-Werror//g' src/Makefile.in || return 1 sed -i 's%(localstatedir)/run%(localstatedir)%' src/Makefile.am || return 1 - sed -i 's%(localstatedir)/run%(localstatedir)%' src/Makefile.in || return 1 - aclocal && autoconf && automake && libtoolize || return 1 + libtoolize --force \ + && aclocal && autoconf && automake || return 1 } build() { @@ -69,4 +72,4 @@ package() { } md5sums="a493d0562fc3b05fe86d8ad65f7f2dc0 coova-chilli-1.2.9.tar.gz -4135e6e19bafdad777b8ca7388ff4101 coova-chilli-ssl.patch" +b3aaf43bcdb5cfbf39d1c730d1de1a3b automake.patch" |