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