27 lines
726 B
Bash
27 lines
726 B
Bash
# Template file for 'iodine'
|
|
pkgname=iodine
|
|
version=0.7.0
|
|
revision=6
|
|
makedepends="zlib-devel"
|
|
depends="net-tools"
|
|
short_desc="Lets you tunnel IPv4 data through a DNS server"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://code.kryo.se/iodine/"
|
|
distfiles="http://code.kryo.se/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e
|
|
replaces="iodine-server>=0"
|
|
|
|
do_build() {
|
|
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
|
|
sed -n '/Copyright/,/reserved/p' README > LICENSE
|
|
vlicense LICENSE
|
|
}
|