void-packages/srcpkgs/iodine/template

26 lines
663 B
Bash
Raw Normal View History

2014-09-04 14:45:32 +00:00
# Template file for 'iodine'
pkgname=iodine
version=0.7.0
2015-09-03 21:47:16 +00:00
revision=5
replaces="iodine-server>=0"
2014-09-04 14:45:32 +00:00
homepage="http://code.kryo.se/iodine/"
distfiles="http://code.kryo.se/${pkgname}/${pkgname}-${version}.tar.gz"
makedepends="zlib-devel"
2015-08-10 13:37:28 +00:00
depends="net-tools"
2014-09-04 14:45:32 +00:00
short_desc="iodine lets you tunnel IPv4 data through a DNS server"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-09-04 14:45:32 +00:00
license="MIT"
checksum=ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e
do_build() {
2015-09-03 21:47:16 +00:00
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i 's/daemon/mdaemon/g' src/*
;;
esac
make CC=$CC ${makejobs}
}
do_install() {
make prefix=/usr DESTDIR=${DESTDIR} sbindir=/usr/bin install
2014-09-04 14:45:32 +00:00
}