26 lines
663 B
Bash
26 lines
663 B
Bash
# Template file for 'iodine'
|
|
pkgname=iodine
|
|
version=0.7.0
|
|
revision=5
|
|
replaces="iodine-server>=0"
|
|
homepage="http://code.kryo.se/iodine/"
|
|
distfiles="http://code.kryo.se/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
makedepends="zlib-devel"
|
|
depends="net-tools"
|
|
short_desc="iodine lets you tunnel IPv4 data through a DNS server"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="MIT"
|
|
checksum=ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e
|
|
|
|
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
|
|
}
|