wok rev 4887

Add: xfmedia
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Feb 06 00:49:18 2010 +0100 (2010-02-06)
parents b03684d53662
children efdb1ea41532
files xfmedia/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfmedia/receipt	Sat Feb 06 00:49:18 2010 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfmedia"
     1.7 +VERSION="0.9.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Xfce Media Player"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libxfcegui4 libexo xine-lib"
    1.12 +DEPENDS="libxfcegui4-dev libexo-dev xine-lib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia"
    1.15 +WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--enable-exo \
    1.25 +		--disable-startup-notification \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make && make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/share
    1.34 +	
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	cp -a $_pkg/etc $fs/
    1.37 +	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.38 +	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    1.39 +	
    1.40 +	# Clean up
    1.41 +	find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
    1.42 +	rm -f $fs/usr/bin/*-remote
    1.43 +	
    1.44 +	# Strip evrythings
    1.45 +	find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
    1.46 +}
    1.47 +