From ab1dfb44802d28509987f1bf15badb1817be89d5 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Tue, 10 Apr 2018 19:12:22 +0000 Subject: community/tinc-pre: fix build --- community/tinc-pre/APKBUILD | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) (limited to 'community') diff --git a/community/tinc-pre/APKBUILD b/community/tinc-pre/APKBUILD index c80daa18e62..72999f75aa7 100644 --- a/community/tinc-pre/APKBUILD +++ b/community/tinc-pre/APKBUILD @@ -3,17 +3,15 @@ pkgname=tinc-pre _realver="1.1pre15" pkgver=${_realver/pre/.} -pkgrel=2 +pkgrel=3 pkgdesc="Virtual Private Network (VPN) daemon (pre-release)" url="http://tinc-vpn.org/" # tests hangs on s390x and fails in lxc on ppc64le arch="all !s390x" license="GPL-2.0" -depends="" makedepends="linux-headers ncurses-dev readline-dev zlib-dev lzo-dev libressl-dev texinfo - automake autoconf libtool" -install="" + automake autoconf libtool bash" subpackages="$pkgname-doc $pkgname-gui::noarch" source="http://tinc-vpn.org/packages/tinc-$_realver.tar.gz tinc-1.1-fix-paths.patch @@ -24,27 +22,33 @@ source="http://tinc-vpn.org/packages/tinc-$_realver.tar.gz " builddir="$srcdir/tinc-$_realver" +prepare() { + default_prepare + cd "$builddir" + autoreconf -fsi +} + build() { - cd "$builddir" + cd "$builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-jumbograms \ - --enable-lzo \ - --enable-zlib \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-jumbograms \ + --enable-lzo \ + --enable-zlib \ --without-systemd \ --enable-legacy-protocol - make + make } check() { - cd "$builddir" - make check + cd "$builddir" + make check } package() { -- cgit v1.2.3