wok annotate parole/receipt @ rev 11474

python-flup: reverting my changes, it was not good (thanks godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 17:52:22 2011 +0100 (2011-12-17)
parents 0a38684bde7f
children 73641efed1cc
rev   line source
erjo@4868 1 # SliTaz package receipt.
erjo@4868 2
erjo@4868 3 PACKAGE="parole"
erjo@4868 4 VERSION="0.2.0.2"
erjo@4868 5 CATEGORY="multimedia"
erjo@4868 6 SHORT_DESC="Media Player for Xfce."
erjo@4868 7 MAINTAINER="erjo@slitaz.org"
erjo@4868 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4868 9 WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
erjo@4868 10 WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL"
erjo@4868 11
pankso@10599 12 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
pankso@10599 13 startup-notification libnotify gstreamer util-linux-ng-uuid"
pankso@10599 14 BUILD_DEPENDS="intltool libxfcegui4-dev libxfce4util-dev dbus-glib-dev \
pankso@10599 15 libgio-dev gst-plugins-base-dev taglib-dev startup-notification-dev \
pankso@10692 16 libnotify-dev gstreamer-dev util-linux-ng-uuid-dev coreutils-operations"
pankso@10599 17
erjo@4868 18 # Rules to configure and make the package.
erjo@4868 19 compile_rules()
erjo@4868 20 {
erjo@4868 21 cd $src
erjo@4868 22 ./configure \
erjo@4868 23 --libexecdir=/usr/lib/$PACKAGE \
erjo@4868 24 --disable-debug \
erjo@4868 25 --disable-power-manager-plugin \
erjo@4868 26 $CONFIGURE_ARGS &&
pascal@10708 27 make && make DESTDIR=$DESTDIR install
erjo@4868 28 }
erjo@4868 29
erjo@4868 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4868 31 genpkg_rules()
erjo@4868 32 {
erjo@4868 33 mkdir -p $fs/usr/share/icons \
erjo@4868 34 $fs/usr/share/pixmaps
erjo@4868 35
erjo@4868 36 cp -a $_pkg/usr/bin $fs/usr
erjo@4868 37 cp -a $_pkg/usr/lib $fs/usr
erjo@4868 38 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
erjo@4868 39 cp -a $_pkg/usr/share/parole $fs/usr/share
erjo@4868 40
pankso@10599 41 cd $fs/usr/share/pixmaps
pankso@10599 42 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
erjo@4868 43
erjo@4868 44 # Clean-up & strip
erjo@4868 45 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@4868 46 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
erjo@4868 47 }
erjo@4868 48