wok-4.x view icecast/receipt @ rev 6657

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