aboutsummaryrefslogtreecommitdiffstats
path: root/community/tinc-pre/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tinc-pre/APKBUILD')
-rw-r--r--community/tinc-pre/APKBUILD40
1 files changed, 22 insertions, 18 deletions
diff --git a/community/tinc-pre/APKBUILD b/community/tinc-pre/APKBUILD
index c80daa18e6..72999f75aa 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() {