wok view parole/receipt @ rev 13244

Move from undigest: tahoe-lafs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:39:27 2012 +0200 (2012-08-14)
parents 73641efed1cc
children f1f0f4bab8de
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-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-uuid-dev coreutils-operations \
17 gtk+-dev libxml2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --disable-debug \
26 --disable-power-manager-plugin \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/icons \
35 $fs/usr/share/pixmaps
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
40 cp -a $_pkg/usr/share/parole $fs/usr/share
42 cd $fs/usr/share/pixmaps
43 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
45 # Clean-up & strip
46 rm -rf $fs/usr/share/icons/hicolor/scalable
47 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
48 }