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
|
2014-01-01 15:10:11 +00:00
|
|
|
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
|
2013-04-12 14:39:50 +00:00
|
|
|
libtheora-devel libvorbis-devel libogg-devel libxslt-devel libxml2-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/icecast.xml"
|
2011-11-07 19:39:26 +00:00
|
|
|
short_desc="Free server software for streaming multimedia"
|
2014-06-08 09:52:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-07 19:39:26 +00:00
|
|
|
license="GPL-2"
|
2013-04-12 14:39:50 +00:00
|
|
|
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
|