aboutsummaryrefslogtreecommitdiffstats
path: root/testing/6tunnel/APKBUILD
blob: c2318c7739a694023c67735f1512499d076cf902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=6tunnel
pkgver=0.12
pkgrel=0
pkgdesc="TCP proxy for non-IPv6 applications"
url="http://toxygen.net/6tunnel"
arch="all"
license="GPL2"
makedepends="automake autoconf"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/wojtekka/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	autoreconf --install
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="4a2197a70aa777baa072e73ee0117231  6tunnel-0.12.tar.gz"
sha256sums="995e8b96b8d782623a7c21d4d81a973837b69689268f318f03c296ece6c66ede  6tunnel-0.12.tar.gz"
sha512sums="8d6148fec0d10b4eaad0c7b646a38b1e1f2dd2ca5f4c7b34e99fea67e5dde8a6b8d150a0bca777902dccb468f4ddf78d1fc6e3a73581314492de1ecccbb03e30  6tunnel-0.12.tar.gz"