wok rev 6038

Add: icecast (2.3.2)
author Alexander Medvedev <devl547@gmail.com>
date Tue Aug 17 02:50:18 2010 +0000 (2010-08-17)
parents 9b3a716845ad
children 96a646809281
files icecast/receipt lighttpd/stuff/etc/init.d/lighttpd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/icecast/receipt	Tue Aug 17 02:50:18 2010 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="icecast"
     1.7 +VERSION="2.3.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming"
    1.10 +DEPENDS="libxslt libxml2 libogg libvorbis libtheora"
    1.11 +BUILD_DEPENDS="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev libogg libvorbis libtheora"
    1.12 +MAINTAINER="devl547@gmail.com"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.icecast.org/"
    1.15 +WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--disable-yp \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make -j2 &&
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/share
    1.34 +	cp -a $_pkg/usr/bin $fs/usr/
    1.35 +	cp -a $_pkg/etc	$fs/
    1.36 +	cp -a $_pkg/usr/share/icecast $fs/usr/share
    1.37 +	strip -s $fs/usr/bin/*
    1.38 +}
     2.1 --- a/lighttpd/stuff/etc/init.d/lighttpd	Mon Aug 16 22:22:10 2010 +0200
     2.2 +++ b/lighttpd/stuff/etc/init.d/lighttpd	Tue Aug 17 02:50:18 2010 +0000
     2.3 @@ -6,10 +6,10 @@
     2.4  . /etc/init.d/rc.functions
     2.5  . /etc/daemons.conf
     2.6  
     2.7 -NAME=LightTPD
     2.8 -DESC="web server"
     2.9 -DAEMON=/usr/sbin/lighttpd
    2.10 -OPTIONS=$LIGHTTPD_OPTIONS
    2.11 +NAME=Polipo
    2.12 +DESC="cache proxy"
    2.13 +DAEMON=/usr/bin/polipo
    2.14 +OPTIONS=$POLIPO_OPTIONS
    2.15  PIDFILE=/var/run/lighttpd.pid
    2.16  
    2.17  case "$1" in