wok-current annotate icecast/receipt @ rev 9214

nvidia: allow post_install without tty (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 11:22:16 2011 +0100 (2011-03-11)
parents
children 02bbaa9d12ba
rev   line source
devl547@6038 1 # SliTaz package receipt.
devl547@6038 2
devl547@6038 3 PACKAGE="icecast"
devl547@6038 4 VERSION="2.3.2"
devl547@6038 5 CATEGORY="multimedia"
devl547@6038 6 SHORT_DESC="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming"
devl547@6038 7 DEPENDS="libxslt libxml2 libogg libvorbis libtheora"
devl547@6038 8 BUILD_DEPENDS="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev libogg libvorbis libtheora"
devl547@6038 9 MAINTAINER="devl547@gmail.com"
devl547@6038 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@6038 11 WEB_SITE="http://www.icecast.org/"
devl547@6038 12 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
devl547@6038 13
devl547@6038 14 # Rules to configure and make the package.
devl547@6038 15 compile_rules()
devl547@6038 16 {
devl547@6038 17 cd $src
devl547@6038 18 ./configure \
devl547@6038 19 --prefix=/usr \
devl547@6038 20 --sysconfdir=/etc \
devl547@6038 21 --disable-yp \
devl547@6038 22 $CONFIGURE_ARGS &&
devl547@6038 23 make -j2 &&
devl547@6038 24 make DESTDIR=$PWD/_pkg install
devl547@6038 25 }
devl547@6038 26
devl547@6038 27 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6038 28 genpkg_rules()
devl547@6038 29 {
devl547@6038 30 mkdir -p $fs/usr/share
devl547@6038 31 cp -a $_pkg/usr/bin $fs/usr/
devl547@6038 32 cp -a $_pkg/etc $fs/
devl547@6038 33 cp -a $_pkg/usr/share/icecast $fs/usr/share
devl547@6038 34 strip -s $fs/usr/bin/*
devl547@6038 35 }