# 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"
