diff --git a/srcpkgs/icecast/INSTALL b/srcpkgs/icecast/INSTALL new file mode 100644 index 00000000000..cb2d8956dd5 --- /dev/null +++ b/srcpkgs/icecast/INSTALL @@ -0,0 +1,9 @@ +case ${ACTION} in +post) + [ ! -d var/log/icecast ] && mkdir -p var/log/icecast + [ ! -f var/log/icecast/access.log ] && \ + touch var/log/icecast/access.log && \ + touch var/log/icecast/error.log + chown -R 99:99 var/log/icecast + ;; +esac diff --git a/srcpkgs/icecast/REMOVE b/srcpkgs/icecast/REMOVE new file mode 100644 index 00000000000..f9fe92d62d7 --- /dev/null +++ b/srcpkgs/icecast/REMOVE @@ -0,0 +1,5 @@ +case ${ACTION} in +purge) + [ -d var/log/icecast ] && rm -rf var/log/icecast + ;; +esac diff --git a/srcpkgs/icecast/patches/no-group.patch b/srcpkgs/icecast/patches/no-group.patch new file mode 100644 index 00000000000..c200f8468f4 --- /dev/null +++ b/srcpkgs/icecast/patches/no-group.patch @@ -0,0 +1,15 @@ +--- conf/icecast.xml.in 2010-11-12 16:47:54.750000918 +0100 ++++ conf/icecast.xml.in 2010-11-12 16:48:08.086667585 +0100 +@@ -164,11 +164,9 @@ + + + 0 +- + + + diff --git a/srcpkgs/icecast/template b/srcpkgs/icecast/template new file mode 100644 index 00000000000..cc76e68dec5 --- /dev/null +++ b/srcpkgs/icecast/template @@ -0,0 +1,38 @@ +# Template file for 'icecast' +pkgname=icecast +version=2.3.2 +build_style=gnu-configure +homepage="http://www.icecast.org/" +distfiles="http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz" +short_desc="Free server software for streaming multimedia" +maintainer="davehome " +license="GPL-2" +checksum=4742b38fc55b6373895a7c0a35baed49a848fec99f5e8538e3f0157383d0b3f0 +long_desc=" + Icecast is a streaming media server which currently supports Ogg Vorbis and + MP3 audio streams. It can be used to create an Internet radio station or a + privately running jukebox and many things in between. It is very versatile + in that new formats can be added relatively easily and supports open + standards for commuincation and interaction." + +conf_files="/etc/icecast.xml" + +Add_dependency run glibc +Add_dependency run libssl +Add_dependency run libcurl +Add_dependency run libspeex +Add_dependency run libtheora +Add_dependency run libvorbis +Add_dependency run libogg +Add_dependency run libxslt +Add_dependency run libxml2 + +Add_dependency build pkg-config +Add_dependency build openssl-devel +Add_dependency build libcurl-devel +Add_dependency build speex-devel +Add_dependency build libtheora-devel +Add_dependency build libvorbis-devel +Add_dependency build libogg-devel +Add_dependency build libxslt-devel +Add_dependency build libxml2-devel