wok-current diff icecast/receipt @ rev 8917

iproute2: add flex in BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 18:05:18 2011 +0100 (2011-02-28)
parents
children 02bbaa9d12ba
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/icecast/receipt	Mon Feb 28 18:05:18 2011 +0100
     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 +}