wok-current rev 4868

Add: parole
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 04 22:33:57 2010 +0100 (2010-02-04)
parents 84b151dde513
children b7f355968e1d
files parole/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/parole/receipt	Thu Feb 04 22:33:57 2010 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="parole"
     1.7 +VERSION="0.2.0.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Media Player for Xfce."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib"
    1.12 +BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev dbus-glib-dev libgio-dev 
    1.13 + gst-plugins-base-dev gstreamer-dev taglib-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
    1.16 +WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--libexecdir=/usr/lib/$PACKAGE \
    1.25 +		--disable-debug \
    1.26 +		--disable-power-manager-plugin \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make && make DESTDIR=$PWD/_pkg install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/share/icons \
    1.35 +		$fs/usr/share/pixmaps 
    1.36 +	
    1.37 +	cp -a $_pkg/usr/bin $fs/usr
    1.38 +	cp -a $_pkg/usr/lib $fs/usr
    1.39 +	cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
    1.40 +	cp -a $_pkg/usr/share/parole $fs/usr/share
    1.41 +	
    1.42 +	cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
    1.43 +	
    1.44 +	# Clean-up & strip
    1.45 +	rm -rf $fs/usr/share/icons/hicolor/scalable
    1.46 +	find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
    1.47 +	
    1.48 +	
    1.49 +}
    1.50 +