void-packages/srcpkgs/icecast/template

27 lines
878 B
Text
Raw Normal View History

2011-11-07 19:39:26 +00:00
# Template file for 'icecast'
pkgname=icecast
2014-10-05 07:06:57 +00:00
version=2.4.0
revision=1
build_style=gnu-configure
2014-10-05 08:07:28 +00:00
hostmakedepends="pkg-config libtool libxslt-devel"
2014-07-15 15:56:59 +00:00
makedepends="libressl-devel libcurl-devel speex-devel
libtheora-devel libvorbis-devel libogg-devel libxslt-devel libxml2-devel"
conf_files="/etc/icecast.xml"
2011-11-07 19:39:26 +00:00
short_desc="Free server software for streaming multimedia"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-11-07 19:39:26 +00:00
license="GPL-2"
homepage="http://www.icecast.org/"
distfiles="http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
2014-10-05 07:06:57 +00:00
checksum=17b7e957e1b16a576efaabd69c15126e84ce98d3791ccee4546b72c0c6460f32
2014-10-05 08:07:28 +00:00
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