wok annotate parole/receipt @ rev 6959
slitaz-i18n: remove depends to avoid big depends loop
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Oct 26 12:57:37 2010 +0200 (2010-10-26) |
parents | 73499d51f4d3 |
children | 93cc0370fce7 |
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" |
pascal@5005 | 8 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \ |
pascal@5005 | 9 startup-notification libnotify" |
erjo@4868 | 10 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev dbus-glib-dev libgio-dev |
erjo@4868 | 11 gst-plugins-base-dev gstreamer-dev taglib-dev" |
erjo@4868 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4868 | 13 WEB_SITE="http://goodies.xfce.org/projects/applications/parole" |
erjo@4868 | 14 WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL" |
erjo@4868 | 15 |
erjo@4868 | 16 # Rules to configure and make the package. |
erjo@4868 | 17 compile_rules() |
erjo@4868 | 18 { |
erjo@4868 | 19 cd $src |
erjo@4868 | 20 ./configure \ |
erjo@4868 | 21 --prefix=/usr \ |
erjo@4868 | 22 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@4868 | 23 --disable-debug \ |
erjo@4868 | 24 --disable-power-manager-plugin \ |
erjo@4868 | 25 $CONFIGURE_ARGS && |
erjo@4868 | 26 make && make DESTDIR=$PWD/_pkg install |
erjo@4868 | 27 } |
erjo@4868 | 28 |
erjo@4868 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4868 | 30 genpkg_rules() |
erjo@4868 | 31 { |
erjo@4868 | 32 mkdir -p $fs/usr/share/icons \ |
erjo@4868 | 33 $fs/usr/share/pixmaps |
erjo@4868 | 34 |
erjo@4868 | 35 cp -a $_pkg/usr/bin $fs/usr |
erjo@4868 | 36 cp -a $_pkg/usr/lib $fs/usr |
erjo@4868 | 37 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons |
erjo@4868 | 38 cp -a $_pkg/usr/share/parole $fs/usr/share |
erjo@4868 | 39 |
erjo@4868 | 40 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd - |
erjo@4868 | 41 |
erjo@4868 | 42 # Clean-up & strip |
erjo@4868 | 43 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@4868 | 44 find $fs/usr/lib -exec strip -s {} 2> /dev/null \; |
erjo@4868 | 45 |
erjo@4868 | 46 |
erjo@4868 | 47 } |
erjo@4868 | 48 |