wok-4.x rev 574

Add: alsaplayer-dev (build deps for My Media System)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 16:56:32 2008 +0200 (2008-04-14)
parents 7cf3cf69e7e4
children ef771ca92a97
files alsaplayer-dev/receipt alsaplayer/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alsaplayer-dev/receipt	Mon Apr 14 16:56:32 2008 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="alsaplayer-dev"
     1.7 +VERSION="0.99.80"
     1.8 +CATEGORY="developement"
     1.9 +SHORT_DESC="Alsa GTK+ PCM player devel files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="alsaplayer"
    1.12 +WEB_SITE="http://www.alsaplayer.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
    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/lib/alsaplayer $fs/usr/lib
    1.22 +	
    1.23 +	# Remove shared libs.
    1.24 +	rm $fs/usr/lib/alsaplayer/*/*.so
    1.25 +}
    1.26 +
     2.1 --- a/alsaplayer/receipt	Mon Apr 14 15:47:14 2008 +0200
     2.2 +++ b/alsaplayer/receipt	Mon Apr 14 16:56:32 2008 +0200
     2.3 @@ -29,19 +29,13 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
     2.8 +	mkdir -p $fs/usr/lib
     2.9  	
    2.10  	cp -a $_pkg/usr/bin $fs/usr
    2.11  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.12  	cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
    2.13  	
    2.14 -	# Remove devel file and strip all.
    2.15 +	# Remove devel files.
    2.16  	rm $fs/usr/lib/alsaplayer/*/*.*a
    2.17 -	strip --strip-unneeded $fs/usr/lib/alsaplayer/*/*
    2.18 -	strip --strip-unneeded $fs/usr/lib/*.so*
    2.19 -	strip -s $fs/usr/bin/*
    2.20 -	
    2.21 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    2.22 -	cp stuff/alsaplayer.png $fs/usr/share/pixmaps
    2.23  }
    2.24