aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iodine/APKBUILD
blob: d1ca65e598d2a22c5c002b9f2917e0f6701d0c9a (plain) (blame)
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
# Contributor: Guy Taylor <thebigguy.co.uk@gmail.com>
# Maintainer:
pkgname=iodine
pkgver=0.7.0
pkgrel=1
pkgdesc="IP over DNS tunnel"
url="http://code.kryo.se/iodine/"
arch="all"
license="ISC"
depends=""
makedepends="linux-headers zlib-dev"
subpackages="$pkgname-doc"
source="http://code.kryo.se/iodine/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	CFLAGS="$CFLAGS -D__GLIBC__=1" make
}


package() {
        cd "$builddir"
	make DESTDIR="$pkgdir" prefix="/usr" install
}

sha512sums="49fe4f0cf614d3400cbfdade84eb4f50430f8f92004f663a08acc1514e8ff342443a8c3f855828bbca1864a3fafe419b5256f8a80fc4024b364d4c8c953fc0ec  iodine-0.7.0.tar.gz"