# icecast, http://www.icecast.org name=icecast version=2.3.1 release=1 source=(http://downloads.us.xiph.org/releases/icecast/$name-$version.tar.gz icecast.service) build() { cd $name-$version ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var make make DESTDIR=$PKG install install -d $PKG/usr/share/icecast install -d $PKG/var/log/icecast touch $PKG/var/log/icecast/{access.log,error.log} install -D -m 755 ../icecast.service $PKG/etc/rc.d/services/icecast.service rm -rf $PKG/usr/share/doc rm -rf $PKG/usr/share/icecast/doc chown root.root $PKG -R }