# HG changeset patch # User Christopher Rogers # Date 1298543443 0 # Node ID ef0a6443aab7de72010616cbe3460cae5fc17bd1 # Parent cb3439e8e4d8acea20f7e24c1dac85dde9ddd61d Add libshout. diff -r cb3439e8e4d8 -r ef0a6443aab7 libshout-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libshout-dev/receipt Thu Feb 24 10:30:43 2011 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libshout-dev" +VERSION="2.2.2" +CATEGORY="development" +SHORT_DESC="libshout development files" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libshout" +WANTED="libshout" +WEB_SITE="http://www.icecast.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r cb3439e8e4d8 -r ef0a6443aab7 libshout/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libshout/receipt Thu Feb 24 10:30:43 2011 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="libshout" +VERSION="2.2.2" +CATEGORY="multimedia" +SHORT_DESC="Library for accessing a shoutcast/icecast server." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libvorbis libtheora speex" +BUILD_DEPENDS="libvorbis-dev libtheora-dev speex-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.icecast.org/" +WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure && make LDFLAGS+=-lspeex && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +