blob: 5273bcfeeea65230c80e1abbbb89cb1212336b38 (
plain)
1 # Description: Program to stream audio to listeners.
2 # URL: http://www.icecast.org
3 # Maintainer: Lucas Hazel, lucas at die dot net dot au
4 # Packager: James Mills, prologic at shortcircuit dot net dot au
5 #
6 # Depends on: libxslt, libvorbis
7
8 name=icecast
9 version=2.3.2
10 release=1
11 source=(http://downloads.us.xiph.org/releases/icecast/$name-$version.tar.gz \
12 icecast)
13
14 build() {
15 cd $name-$version
16
17 ./configure \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --localstatedir=/var
21
22 make && make DESTDIR=$PKG install
23
24 install -d \
25 $PKG/usr/share/icecast \
26 $PKG/var/log/icecast
27
28 touch $PKG/var/log/icecast/{access.log,error.log}
29 install -D -m755 $SRC/icecast $PKG/etc/rc.d/icecast
30 rm -fr $PKG/usr/share/{doc,icecast/doc}
31
32 chown -R root:root $PKG
33 }
|