wok-stable diff alsaplayer/receipt @ 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 | |
children | 4959e5789caa |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/alsaplayer/receipt Tue Dec 18 14:04:58 2007 +0100 1.3 @@ -0,0 +1,47 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="alsaplayer" 1.7 +VERSION="0.99.80" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Alsa GTK+ PCM player." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+ alsa-lib libmad" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.alsaplayer.org/" 1.14 +WGET_URL="http://www.alsaplayer.org/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure \ 1.21 + --enable-nls \ 1.22 + --prefix=/usr \ 1.23 + --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS 1.26 + make 1.27 + # Chmod install-sh to avoid install error. 1.28 + chmod 755 install-sh 1.29 + make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps 1.36 + 1.37 + cp -a $_pkg/usr/bin $fs/usr 1.38 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.39 + cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib 1.40 + 1.41 + # Remove devel file and strip all. 1.42 + rm $fs/usr/lib/alsaplayer/*/*.*a 1.43 + strip --strip-unneeded $fs/usr/lib/alsaplayer/*/* 1.44 + strip --strip-unneeded $fs/usr/lib/*.so* 1.45 + strip -s $fs/usr/bin/* 1.46 + 1.47 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.48 + cp stuff/alsaplayer.png $fs/usr/share/pixmaps 1.49 +} 1.50 +