wok annotate parole/receipt @ rev 13740

Move from undigest: kivy gmerlin glances phproxy zonecheck ledger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 26 15:50:31 2012 +0100 (2012-12-26)
parents 73641efed1cc
children f1f0f4bab8de
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@12481 13 startup-notification libnotify gstreamer util-linux-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 \
pascal@12572 16 libnotify-dev gstreamer-dev util-linux-uuid-dev coreutils-operations \
pascal@12572 17 gtk+-dev libxml2-dev"
pankso@10599 18
erjo@4868 19 # Rules to configure and make the package.
erjo@4868 20 compile_rules()
erjo@4868 21 {
erjo@4868 22 cd $src
erjo@4868 23 ./configure \
erjo@4868 24 --libexecdir=/usr/lib/$PACKAGE \
erjo@4868 25 --disable-debug \
erjo@4868 26 --disable-power-manager-plugin \
erjo@4868 27 $CONFIGURE_ARGS &&
pascal@10708 28 make && make DESTDIR=$DESTDIR install
erjo@4868 29 }
erjo@4868 30
erjo@4868 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4868 32 genpkg_rules()
erjo@4868 33 {
erjo@4868 34 mkdir -p $fs/usr/share/icons \
erjo@4868 35 $fs/usr/share/pixmaps
erjo@4868 36
erjo@4868 37 cp -a $_pkg/usr/bin $fs/usr
erjo@4868 38 cp -a $_pkg/usr/lib $fs/usr
erjo@4868 39 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
erjo@4868 40 cp -a $_pkg/usr/share/parole $fs/usr/share
erjo@4868 41
pankso@10599 42 cd $fs/usr/share/pixmaps
pankso@10599 43 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
erjo@4868 44
erjo@4868 45 # Clean-up & strip
erjo@4868 46 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@4868 47 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
erjo@4868 48 }
erjo@4868 49