iodine: fix musl

This commit is contained in:
Andrea Brancaleoni 2015-09-03 23:47:16 +02:00
parent a37d48ee7c
commit c0eab38f67

View file

@ -1,7 +1,7 @@
# Template file for 'iodine'
pkgname=iodine
version=0.7.0
revision=4
revision=5
replaces="iodine-server>=0"
homepage="http://code.kryo.se/iodine/"
distfiles="http://code.kryo.se/${pkgname}/${pkgname}-${version}.tar.gz"
@ -13,6 +13,11 @@ 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() {