wok-next annotate libshout/receipt @ rev 9259

Use SOURCE to define tarball properly (thanks Godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 03:39:52 2011 +0100 (2011-03-15)
parents
children c9fc4a566d1d
rev   line source
slaxemulator@8835 1 # SliTaz package receipt.
slaxemulator@8835 2
slaxemulator@8835 3 PACKAGE="libshout"
slaxemulator@8835 4 VERSION="2.2.2"
slaxemulator@8835 5 CATEGORY="multimedia"
slaxemulator@8835 6 SHORT_DESC="Library for accessing a shoutcast/icecast server."
slaxemulator@8835 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@8835 8 DEPENDS="libvorbis libtheora speex"
slaxemulator@8835 9 BUILD_DEPENDS="libvorbis-dev libtheora-dev speex-dev"
slaxemulator@8835 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@8835 11 WEB_SITE="http://www.icecast.org/"
slaxemulator@8835 12 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL"
slaxemulator@8835 13
slaxemulator@8835 14 # Rules to configure and make the package.
slaxemulator@8835 15 compile_rules()
slaxemulator@8835 16 {
slaxemulator@8835 17 cd $src
slaxemulator@8835 18 ./configure && make LDFLAGS+=-lspeex && make install
slaxemulator@8835 19 }
slaxemulator@8835 20
slaxemulator@8835 21 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8835 22 genpkg_rules()
slaxemulator@8835 23 {
slaxemulator@8835 24 mkdir -p $fs/usr/lib
slaxemulator@8835 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@8835 26 }
slaxemulator@8835 27