# HG changeset patch # User Eric Joseph-Alexandre # Date 1265319237 -3600 # Node ID 73499d51f4d334fa76054bd1a2a3e011c271ffb8 # Parent 84b151dde513b15ffddf8472a4ceedf6ec3181d7 Add: parole diff -r 84b151dde513 -r 73499d51f4d3 parole/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/parole/receipt Thu Feb 04 22:33:57 2010 +0100 @@ -0,0 +1,47 @@ +# SliTaz package receipt. + +PACKAGE="parole" +VERSION="0.2.0.2" +CATEGORY="multimedia" +SHORT_DESC="Media Player for Xfce." +MAINTAINER="erjo@slitaz.org" +DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib" +BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev dbus-glib-dev libgio-dev + gst-plugins-base-dev gstreamer-dev taglib-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://goodies.xfce.org/projects/applications/parole" +WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/$PACKAGE \ + --disable-debug \ + --disable-power-manager-plugin \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/icons \ + $fs/usr/share/pixmaps + + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons + cp -a $_pkg/usr/share/parole $fs/usr/share + + cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd - + + # Clean-up & strip + rm -rf $fs/usr/share/icons/hicolor/scalable + find $fs/usr/lib -exec strip -s {} 2> /dev/null \; + + +} +