wok-next annotate parole/receipt @ rev 14384
connman-dev: fix deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 06:56:23 2013 +0200 (2013-04-23) |
parents | 07082c1a3c4f |
children | 380ffe05937a |
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@14049 | 17 gtk+-dev libxml2-dev orc-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 |
pascal@14043 | 37 cp -a $install/usr/bin $fs/usr |
pascal@14043 | 38 cp -a $install/usr/lib $fs/usr |
pascal@14043 | 39 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons |
pascal@14043 | 40 cp -a $install/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 |