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