wok-4.x rev 32

Add : alsa-* and sound libs (ogg, mad, etc) + mpg123
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:04:58 2007 +0100 (2007-12-18)
parents 3f18ea6cb6ad
children a0f170d30896
files alsa-lib-dev/receipt alsa-lib/receipt alsa-utils/receipt alsa-utils/stuff/getopt alsaplayer/receipt alsaplayer/stuff/alsaplayer.png libmad-dev/receipt libmad/receipt libogg-dev/receipt libogg/receipt libvorbis-dev/receipt libvorbis/receipt mpg123/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alsa-lib-dev/receipt	Tue Dec 18 14:04:58 2007 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="alsa-lib-dev"
     1.7 +VERSION="1.0.15"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="Alsa sound libraries devel files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="alsa-lib"
    1.12 +WEB_SITE="http://www.alsa-project.org/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.18 +	cp -a $_pkg/usr/include $fs/usr
    1.19 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.22 +	
    1.23 +	# Copy all and then remove shared libs.
    1.24 +	cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib
    1.25 +	rm $fs/usr/lib/alsa-lib/smixer/*.so*
    1.26 +}
    1.27 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/alsa-lib/receipt	Tue Dec 18 14:04:58 2007 +0100
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="alsa-lib"
     2.7 +VERSION="1.0.15"
     2.8 +CATEGORY="extra"
     2.9 +SHORT_DESC="Alsa sound libraries."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="linux-snd"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="http://www.alsa-project.org/"
    2.14 +WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    2.22 +	make
    2.23 +	make DESTDIR=$PWD/_pkg install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.30 +	cp -a $_pkg/usr/bin $fs/usr
    2.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.32 +	cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib
    2.33 +	cp -a $_pkg/usr/share/alsa $fs/usr/share
    2.34 +	
    2.35 +	rm $fs/usr/lib/alsa-lib/smixer/*.*a
    2.36 +	strip --strip-unneeded $fs/usr/lib/* 2>/dev/null
    2.37 +	strip --strip-unneeded $fs/usr/lib/alsa-lib/smixer/*
    2.38 +	strip -s $fs/usr/bin/*
    2.39 +}
    2.40 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/alsa-utils/receipt	Tue Dec 18 14:04:58 2007 +0100
     3.3 @@ -0,0 +1,45 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="alsa-utils"
     3.7 +VERSION="1.0.15"
     3.8 +CATEGORY="extra"
     3.9 +SHORT_DESC="Alsa sound system utilities et config tools."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +DEPENDS="alsa-lib bash"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.13 +WEB_SITE="http://www.alsa-project.org/"
    3.14 +WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
    3.15 +
    3.16 +# Rules to configure and make the package.
    3.17 +compile_rules()
    3.18 +{
    3.19 +	cd $src
    3.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    3.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    3.22 +	make
    3.23 +	make DESTDIR=$PWD/_pkg install
    3.24 +}
    3.25 +
    3.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 +genpkg_rules()
    3.28 +{
    3.29 +	mkdir -p $fs/usr/share
    3.30 +	cp -a $_pkg/usr/bin $fs/usr
    3.31 +	cp -a $_pkg/usr/sbin $fs/usr
    3.32 +	chmod 755 $fs/usr/sbin/*
    3.33 +	cp -a $_pkg/usr/share/alsa $fs/usr/share
    3.34 +
    3.35 +	# For conf we need /var/tmp
    3.36 +	mkdir -p $fs/var/tmp
    3.37 +	chmod 1777 $fs/var/tmp
    3.38 +
    3.39 +	# Strip me this and remove alsaconf (use soundconf).
    3.40 +	strip -s $fs/usr/bin/*
    3.41 +	rm $fs/usr/sbin/alsaconf
    3.42 +	strip -s $fs/usr/sbin/*
    3.43 +	
    3.44 +	# Getopt precomp needed by alsaconf (and change /bin/bash to sh : 
    3.45 +	# do not work, we need Bash or modify alsaconf).
    3.46 +	install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
    3.47 +}
    3.48 +
     4.1 Binary file alsa-utils/stuff/getopt has changed
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/alsaplayer/receipt	Tue Dec 18 14:04:58 2007 +0100
     5.3 @@ -0,0 +1,47 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="alsaplayer"
     5.7 +VERSION="0.99.80"
     5.8 +CATEGORY="extra"
     5.9 +SHORT_DESC="Alsa GTK+ PCM player."
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +DEPENDS="gtk+ alsa-lib libmad"
    5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.13 +WEB_SITE="http://www.alsaplayer.org/"
    5.14 +WGET_URL="http://www.alsaplayer.org/$TARBALL"
    5.15 +
    5.16 +# Rules to configure and make the package.
    5.17 +compile_rules()
    5.18 +{
    5.19 +	cd $src
    5.20 +	./configure \
    5.21 +		--enable-nls \
    5.22 +		--prefix=/usr \
    5.23 +		--infodir=/usr/share/info \
    5.24 +		--mandir=/usr/share/man \
    5.25 +		$CONFIGURE_ARGS
    5.26 +	make
    5.27 +	# Chmod install-sh to avoid install error.
    5.28 +	chmod 755 install-sh
    5.29 +	make DESTDIR=$PWD/_pkg install
    5.30 +}
    5.31 +
    5.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.33 +genpkg_rules()
    5.34 +{
    5.35 +	mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
    5.36 +	
    5.37 +	cp -a $_pkg/usr/bin $fs/usr
    5.38 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    5.39 +	cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
    5.40 +	
    5.41 +	# Remove devel file and strip all.
    5.42 +	rm $fs/usr/lib/alsaplayer/*/*.*a
    5.43 +	strip --strip-unneeded $fs/usr/lib/alsaplayer/*/*
    5.44 +	strip --strip-unneeded $fs/usr/lib/*.so*
    5.45 +	strip -s $fs/usr/bin/*
    5.46 +	
    5.47 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    5.48 +	cp stuff/alsaplayer.png $fs/usr/share/pixmaps
    5.49 +}
    5.50 +
     6.1 Binary file alsaplayer/stuff/alsaplayer.png has changed
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/libmad-dev/receipt	Tue Dec 18 14:04:58 2007 +0100
     7.3 @@ -0,0 +1,19 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="libmad-dev"
     7.7 +VERSION="0.15.1b"
     7.8 +CATEGORY="extra"
     7.9 +SHORT_DESC="MAD is a high-quality MPEG audio decoder devel files."
    7.10 +MAINTAINER="pankso@slitaz.org"
    7.11 +WANTED="libmad"
    7.12 +WEB_SITE="http://www.underbit.com/products/mad/"
    7.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    7.14 +
    7.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.16 +genpkg_rules()
    7.17 +{
    7.18 +	mkdir -p $fs/usr/lib
    7.19 +	cp -a $_pkg/usr/include $fs/usr
    7.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    7.21 +}
    7.22 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/libmad/receipt	Tue Dec 18 14:04:58 2007 +0100
     8.3 @@ -0,0 +1,28 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="libmad"
     8.7 +VERSION="0.15.1b"
     8.8 +CATEGORY="extra"
     8.9 +SHORT_DESC="MAD is a high-quality MPEG audio decoder."
    8.10 +MAINTAINER="pankso@slitaz.org"
    8.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.12 +WEB_SITE="http://www.underbit.com/products/mad/"
    8.13 +WGET_URL="$SF_MIRROR/mad/$TARBALL"
    8.14 +
    8.15 +# Rules to configure and make the package.
    8.16 +compile_rules()
    8.17 +{
    8.18 +	cd $src
    8.19 +	./configure --prefix=/usr $CONFIGURE_ARGS
    8.20 +	make
    8.21 +	make DESTDIR=$PWD/_pkg install
    8.22 +}
    8.23 +
    8.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.25 +genpkg_rules()
    8.26 +{
    8.27 +	mkdir -p $fs/usr/lib
    8.28 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    8.29 +	strip --strip-unneeded $fs/usr/lib/*
    8.30 +}
    8.31 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/libogg-dev/receipt	Tue Dec 18 14:04:58 2007 +0100
     9.3 @@ -0,0 +1,20 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="libogg-dev"
     9.7 +VERSION="1.1.3"
     9.8 +CATEGORY="extra"
     9.9 +SHORT_DESC="OGG library devel files from Xiph.org project."
    9.10 +MAINTAINER="pankso@slitaz.org"
    9.11 +WANTED="libogg"
    9.12 +WEB_SITE="http://www.xiph.org/"
    9.13 +
    9.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.15 +genpkg_rules()
    9.16 +{
    9.17 +	mkdir -p $fs/usr/lib $fs/usr/share
    9.18 +	cp -a $_pkg/usr/include $fs/usr
    9.19 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    9.20 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    9.21 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    9.22 +}
    9.23 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/libogg/receipt	Tue Dec 18 14:04:58 2007 +0100
    10.3 @@ -0,0 +1,30 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="libogg"
    10.7 +VERSION="1.1.3"
    10.8 +CATEGORY="extra"
    10.9 +SHORT_DESC="OGG library from Xiph.org project."
   10.10 +MAINTAINER="pankso@slitaz.org"
   10.11 +DEPENDS=""
   10.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.13 +WEB_SITE="http://www.xiph.org/"
   10.14 +WGET_URL="http://downloads.xiph.org/releases/ogg/$TARBALL"
   10.15 +
   10.16 +# Rules to configure and make the package.
   10.17 +compile_rules()
   10.18 +{
   10.19 +	cd $src
   10.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
   10.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
   10.22 +	make
   10.23 +	make DESTDIR=$PWD/_pkg install
   10.24 +}
   10.25 +
   10.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.27 +genpkg_rules()
   10.28 +{
   10.29 +	mkdir -p $fs/usr/lib
   10.30 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
   10.31 +	strip --strip-unneeded $fs/usr/lib/*
   10.32 +}
   10.33 +
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/libvorbis-dev/receipt	Tue Dec 18 14:04:58 2007 +0100
    11.3 @@ -0,0 +1,19 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="libvorbis-dev"
    11.7 +VERSION="1.2.0"
    11.8 +CATEGORY="extra"
    11.9 +SHORT_DESC="Vorbis base library."
   11.10 +MAINTAINER="pankso@slitaz.org"
   11.11 +WANTED="libvorbis"
   11.12 +WEB_SITE="http://www.xiph.org/"
   11.13 +
   11.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.15 +genpkg_rules()
   11.16 +{
   11.17 +	mkdir -p $fs/usr/lib $fs/usr/share
   11.18 +	cp -a $_pkg/usr/include $fs/usr
   11.19 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
   11.20 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
   11.21 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
   11.22 +}
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/libvorbis/receipt	Tue Dec 18 14:04:58 2007 +0100
    12.3 @@ -0,0 +1,34 @@
    12.4 +# SliTaz package receipt.
    12.5 +
    12.6 +PACKAGE="libvorbis"
    12.7 +VERSION="1.2.0"
    12.8 +CATEGORY="extra"
    12.9 +SHORT_DESC="Vorbis base library."
   12.10 +MAINTAINER="pankso@slitaz.org"
   12.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   12.12 +WEB_SITE="http://www.xiph.org/"
   12.13 +WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL"
   12.14 +
   12.15 +# Rules to configure and make the package.
   12.16 +compile_rules()
   12.17 +{
   12.18 +	cd $src
   12.19 +	./configure --prefix=/usr --infodir=/usr/share/info \
   12.20 +	--mandir=/usr/share/man $CONFIGURE_ARGS
   12.21 +	make
   12.22 +	make DESTDIR=$PWD/_pkg install
   12.23 +}
   12.24 +
   12.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.26 +genpkg_rules()
   12.27 +{
   12.28 +	mkdir -p $fs/usr/lib
   12.29 +	
   12.30 +	# The libvorbisenc files should go in libvorbis-enc
   12.31 +	#cp -a $_pkg/usr/lib/libvorbis.so* $fs/usr/lib
   12.32 +	#cp -a $_pkg/usr/lib/libvorbisfile.so* $fs/usr/lib
   12.33 +	
   12.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
   12.35 +	strip --strip-unneeded $fs/usr/lib/*
   12.36 +}
   12.37 +
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/mpg123/receipt	Tue Dec 18 14:04:58 2007 +0100
    13.3 @@ -0,0 +1,30 @@
    13.4 +# SliTaz package receipt.
    13.5 +
    13.6 +PACKAGE="mpg123"
    13.7 +VERSION="0.68"
    13.8 +CATEGORY="extra"
    13.9 +SHORT_DESC="Command line audi player and streamer"
   13.10 +MAINTAINER="pankso@slitaz.org"
   13.11 +DEPENDS="alsa-lib"
   13.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   13.13 +WEB_SITE="http://www.mpg123.de/"
   13.14 +WGET_URL="http://www.mpg123.de/download/$TARBALL"
   13.15 +
   13.16 +# Rules to configure and make the package.
   13.17 +compile_rules()
   13.18 +{
   13.19 +	cd $src
   13.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
   13.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
   13.22 +	make
   13.23 +	make DESTDIR=$PWD/_pkg install
   13.24 +}
   13.25 +
   13.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
   13.27 +genpkg_rules()
   13.28 +{
   13.29 +	mkdir -p $fs/usr
   13.30 +	cp -a $_pkg/usr/bin $fs/usr
   13.31 +	strip -s $fs/usr/bin/*
   13.32 +}
   13.33 +