# HG changeset patch # User Christophe Lincoln # Date 1197983098 -3600 # Node ID a7cb804c8e950ab294db2a67b205d2844b92101d # Parent 3f18ea6cb6ade749673f38993fae2e71b035e32f Add : alsa-* and sound libs (ogg, mad, etc) + mpg123 diff -r 3f18ea6cb6ad -r a7cb804c8e95 alsa-lib-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alsa-lib-dev/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="alsa-lib-dev" +VERSION="1.0.15" +CATEGORY="extra" +SHORT_DESC="Alsa sound libraries devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="alsa-lib" +WEB_SITE="http://www.alsa-project.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 + cp -a $_pkg/usr/share/aclocal $fs/usr/share + + # Copy all and then remove shared libs. + cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib + rm $fs/usr/lib/alsa-lib/smixer/*.so* +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 alsa-lib/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alsa-lib/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="alsa-lib" +VERSION="1.0.15" +CATEGORY="extra" +SHORT_DESC="Alsa sound libraries." +MAINTAINER="pankso@slitaz.org" +DEPENDS="linux-snd" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.alsa-project.org/" +WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$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 $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib + cp -a $_pkg/usr/share/alsa $fs/usr/share + + rm $fs/usr/lib/alsa-lib/smixer/*.*a + strip --strip-unneeded $fs/usr/lib/* 2>/dev/null + strip --strip-unneeded $fs/usr/lib/alsa-lib/smixer/* + strip -s $fs/usr/bin/* +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 alsa-utils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alsa-utils/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="alsa-utils" +VERSION="1.0.15" +CATEGORY="extra" +SHORT_DESC="Alsa sound system utilities et config tools." +MAINTAINER="pankso@slitaz.org" +DEPENDS="alsa-lib bash" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.alsa-project.org/" +WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$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/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + chmod 755 $fs/usr/sbin/* + cp -a $_pkg/usr/share/alsa $fs/usr/share + + # For conf we need /var/tmp + mkdir -p $fs/var/tmp + chmod 1777 $fs/var/tmp + + # Strip me this and remove alsaconf (use soundconf). + strip -s $fs/usr/bin/* + rm $fs/usr/sbin/alsaconf + strip -s $fs/usr/sbin/* + + # Getopt precomp needed by alsaconf (and change /bin/bash to sh : + # do not work, we need Bash or modify alsaconf). + install -g root -o root -m 0755 stuff/getopt $fs/usr/bin +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 alsa-utils/stuff/getopt Binary file alsa-utils/stuff/getopt has changed diff -r 3f18ea6cb6ad -r a7cb804c8e95 alsaplayer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alsaplayer/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,47 @@ +# SliTaz package receipt. + +PACKAGE="alsaplayer" +VERSION="0.99.80" +CATEGORY="extra" +SHORT_DESC="Alsa GTK+ PCM player." +MAINTAINER="pankso@slitaz.org" +DEPENDS="gtk+ alsa-lib libmad" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.alsaplayer.org/" +WGET_URL="http://www.alsaplayer.org/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --enable-nls \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + # Chmod install-sh to avoid install error. + chmod 755 install-sh + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps + + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib + + # Remove devel file and strip all. + rm $fs/usr/lib/alsaplayer/*/*.*a + strip --strip-unneeded $fs/usr/lib/alsaplayer/*/* + strip --strip-unneeded $fs/usr/lib/*.so* + strip -s $fs/usr/bin/* + + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + cp stuff/alsaplayer.png $fs/usr/share/pixmaps +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 alsaplayer/stuff/alsaplayer.png Binary file alsaplayer/stuff/alsaplayer.png has changed diff -r 3f18ea6cb6ad -r a7cb804c8e95 libmad-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmad-dev/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libmad-dev" +VERSION="0.15.1b" +CATEGORY="extra" +SHORT_DESC="MAD is a high-quality MPEG audio decoder devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="libmad" +WEB_SITE="http://www.underbit.com/products/mad/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 libmad/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmad/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libmad" +VERSION="0.15.1b" +CATEGORY="extra" +SHORT_DESC="MAD is a high-quality MPEG audio decoder." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.underbit.com/products/mad/" +WGET_URL="$SF_MIRROR/mad/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $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 + strip --strip-unneeded $fs/usr/lib/* +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 libogg-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libogg-dev/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libogg-dev" +VERSION="1.1.3" +CATEGORY="extra" +SHORT_DESC="OGG library devel files from Xiph.org project." +MAINTAINER="pankso@slitaz.org" +WANTED="libogg" +WEB_SITE="http://www.xiph.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 + cp -a $_pkg/usr/share/aclocal $fs/usr/share +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 libogg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libogg/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libogg" +VERSION="1.1.3" +CATEGORY="extra" +SHORT_DESC="OGG library from Xiph.org project." +MAINTAINER="pankso@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.xiph.org/" +WGET_URL="http://downloads.xiph.org/releases/ogg/$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 + strip --strip-unneeded $fs/usr/lib/* +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 libvorbis-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libvorbis-dev/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libvorbis-dev" +VERSION="1.2.0" +CATEGORY="extra" +SHORT_DESC="Vorbis base library." +MAINTAINER="pankso@slitaz.org" +WANTED="libvorbis" +WEB_SITE="http://www.xiph.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 + cp -a $_pkg/usr/share/aclocal $fs/usr/share +} diff -r 3f18ea6cb6ad -r a7cb804c8e95 libvorbis/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libvorbis/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="libvorbis" +VERSION="1.2.0" +CATEGORY="extra" +SHORT_DESC="Vorbis base library." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.xiph.org/" +WGET_URL="http://downloads.xiph.org/releases/vorbis/$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 + + # The libvorbisenc files should go in libvorbis-enc + #cp -a $_pkg/usr/lib/libvorbis.so* $fs/usr/lib + #cp -a $_pkg/usr/lib/libvorbisfile.so* $fs/usr/lib + + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + strip --strip-unneeded $fs/usr/lib/* +} + diff -r 3f18ea6cb6ad -r a7cb804c8e95 mpg123/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpg123/receipt Tue Dec 18 14:04:58 2007 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="mpg123" +VERSION="0.68" +CATEGORY="extra" +SHORT_DESC="Command line audi player and streamer" +MAINTAINER="pankso@slitaz.org" +DEPENDS="alsa-lib" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.mpg123.de/" +WGET_URL="http://www.mpg123.de/download/$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 + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/bin/* +} +