wok-6.x annotate parole/receipt @ rev 15384

Add licenses
author Dominique Corbex <domcox@slitaz.org>
date Mon Oct 21 23:10:53 2013 +0200 (2013-10-21)
parents 380ffe05937a
children 6e8b1bcb30e2
rev   line source
erjo@4868 1 # SliTaz package receipt.
erjo@4868 2
erjo@4868 3 PACKAGE="parole"
pascal@15322 4 VERSION="0.5.2"
erjo@4868 5 CATEGORY="multimedia"
erjo@4868 6 SHORT_DESC="Media Player for Xfce."
erjo@4868 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@4868 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4868 10 WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
pascal@15322 11 WGET_URL="http://archive.xfce.org/src/apps/parole/${VERSION:0:3}/$TARBALL"
erjo@4868 12
pankso@10599 13 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
pankso@12481 14 startup-notification libnotify gstreamer util-linux-uuid"
pankso@10599 15 BUILD_DEPENDS="intltool libxfcegui4-dev libxfce4util-dev dbus-glib-dev \
pankso@10599 16 libgio-dev gst-plugins-base-dev taglib-dev startup-notification-dev \
pascal@12572 17 libnotify-dev gstreamer-dev util-linux-uuid-dev coreutils-operations \
pascal@15322 18 gtk+-dev libxml2-dev orc-dev libxfconf-dev libxfce4ui-dev"
pankso@10599 19
erjo@4868 20 # Rules to configure and make the package.
erjo@4868 21 compile_rules()
erjo@4868 22 {
erjo@4868 23 cd $src
erjo@4868 24 ./configure \
erjo@4868 25 --libexecdir=/usr/lib/$PACKAGE \
erjo@4868 26 --disable-debug \
erjo@4868 27 --disable-power-manager-plugin \
erjo@4868 28 $CONFIGURE_ARGS &&
pascal@10708 29 make && make DESTDIR=$DESTDIR install
erjo@4868 30 }
erjo@4868 31
erjo@4868 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4868 33 genpkg_rules()
erjo@4868 34 {
erjo@4868 35 mkdir -p $fs/usr/share/icons \
erjo@4868 36 $fs/usr/share/pixmaps
erjo@4868 37
pascal@14043 38 cp -a $install/usr/bin $fs/usr
pascal@14043 39 cp -a $install/usr/lib $fs/usr
pascal@14043 40 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
pascal@14043 41 cp -a $install/usr/share/parole $fs/usr/share
erjo@4868 42
pankso@10599 43 cd $fs/usr/share/pixmaps
pankso@10599 44 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
erjo@4868 45
erjo@4868 46 # Clean-up & strip
erjo@4868 47 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@4868 48 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
erjo@4868 49 }
erjo@4868 50