wok-next annotate icecast/receipt @ rev 17373

linux64-module-headers: fix build link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 21 15:15:22 2014 +0100 (2014-11-21)
parents 9f8dc905b93e
children 757d032c55c7
rev   line source
devl547@6038 1 # SliTaz package receipt.
devl547@6038 2
devl547@6038 3 PACKAGE="icecast"
slaxemulator@13085 4 VERSION="2.3.3"
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 MAINTAINER="devl547@gmail.com"
pascal@15000 8 LICENSE="GPL2"
devl547@6038 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@6038 10 WEB_SITE="http://www.icecast.org/"
devl547@6038 11 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
devl547@6038 12
pascal@15000 13 DEPENDS="libxslt libxml2 libogg libvorbis libtheora"
pascal@15000 14 BUILD_DEPENDS="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev libogg libvorbis libtheora"
pascal@15000 15
devl547@6038 16 # Rules to configure and make the package.
devl547@6038 17 compile_rules()
devl547@6038 18 {
devl547@6038 19 cd $src
devl547@6038 20 ./configure \
devl547@6038 21 --prefix=/usr \
devl547@6038 22 --sysconfdir=/etc \
devl547@6038 23 --disable-yp \
devl547@6038 24 $CONFIGURE_ARGS &&
devl547@6038 25 make -j2 &&
slaxemulator@13085 26 make DESTDIR=$DESTDIR install
devl547@6038 27 }
devl547@6038 28
devl547@6038 29 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6038 30 genpkg_rules()
devl547@6038 31 {
devl547@6038 32 mkdir -p $fs/usr/share
slaxemulator@13085 33 cp -a $install/usr/bin $fs/usr/
slaxemulator@13085 34 cp -a $install/etc $fs/
slaxemulator@13085 35 cp -a $install/usr/share/icecast $fs/usr/share
devl547@6038 36 }