wok-current view parole/receipt @ rev 11633

Up shaarli (0.0.37beta)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 02 00:06:39 2012 +0100 (2012-02-02)
parents 0a38684bde7f
children 73641efed1cc
line source
1 # SliTaz package receipt.
3 PACKAGE="parole"
4 VERSION="0.2.0.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Media Player for Xfce."
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
10 WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL"
12 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
13 startup-notification libnotify gstreamer util-linux-ng-uuid"
14 BUILD_DEPENDS="intltool libxfcegui4-dev libxfce4util-dev dbus-glib-dev \
15 libgio-dev gst-plugins-base-dev taglib-dev startup-notification-dev \
16 libnotify-dev gstreamer-dev util-linux-ng-uuid-dev coreutils-operations"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --disable-debug \
25 --disable-power-manager-plugin \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/icons \
34 $fs/usr/share/pixmaps
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib $fs/usr
38 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
39 cp -a $_pkg/usr/share/parole $fs/usr/share
41 cd $fs/usr/share/pixmaps
42 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
44 # Clean-up & strip
45 rm -rf $fs/usr/share/icons/hicolor/scalable
46 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
47 }