wok-current view 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
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 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib"
9 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev dbus-glib-dev libgio-dev
10 gst-plugins-base-dev gstreamer-dev taglib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
13 WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/$PACKAGE \
22 --disable-debug \
23 --disable-power-manager-plugin \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/icons \
32 $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
37 cp -a $_pkg/usr/share/parole $fs/usr/share
39 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
41 # Clean-up & strip
42 rm -rf $fs/usr/share/icons/hicolor/scalable
43 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
46 }