# Template file for 'icecast' pkgname=icecast version=2.4.0 revision=1 build_style=gnu-configure hostmakedepends="pkg-config libtool libxslt-devel" makedepends="libressl-devel libcurl-devel speex-devel libtheora-devel libvorbis-devel libogg-devel libxslt-devel libxml2-devel" conf_files="/etc/icecast.xml" short_desc="Free server software for streaming multimedia" maintainer="Juan RP " license="GPL-2" homepage="http://www.icecast.org/" distfiles="http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz" checksum=17b7e957e1b16a576efaabd69c15126e84ce98d3791ccee4546b72c0c6460f32 pre_configure() { libtoolize -f } if [ "$CROSS_BUILD" ]; then post_configure() { # the build system of icecast is broken. manually fix Makefiles to cross compile sed -i "s#-L/usr/lib #-L$XBPS_CROSS_BASE/usr/lib -lxslt #" `find -name Makefile` } fi