# HG changeset patch # User Christophe Lincoln # Date 1200952973 -3600 # Node ID 517c105b1c0f250491270f0da7ac6e26a64f3981 # Parent 322a833e70f3b971be34ea65430735ac49a50b5e Add : lame for mp3 encoding diff -r 322a833e70f3 -r 517c105b1c0f lame-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lame-dev/receipt Mon Jan 21 23:02:53 2008 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="lame-dev" +VERSION="3.97" +CATEGORY="devel" +SHORT_DESC="Lame (mp3 encoder) devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="lame" +WEB_SITE="http://lame.sourceforge.net/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 322a833e70f3 -r 517c105b1c0f lame/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lame/receipt Mon Jan 21 23:02:53 2008 +0100 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="lame" +VERSION="3.97" +CATEGORY="extra" +SHORT_DESC="MPEG Audio Layer III (MP3) encoder." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://lame.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg 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 + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/lib/* 2>/dev/null + strip -s $fs/usr/bin/* 2>/dev/null +}