wok-4.x view parole/receipt @ rev 5394

Up: bluefish (2.0.0)
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 02 02:48:40 2010 +0000 (2010-05-02)
parents 73499d51f4d3
children 93cc0370fce7
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 startup-notification libnotify"
10 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev dbus-glib-dev libgio-dev
11 gst-plugins-base-dev gstreamer-dev taglib-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
14 WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --disable-debug \
24 --disable-power-manager-plugin \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/icons \
33 $fs/usr/share/pixmaps
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib $fs/usr
37 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
38 cp -a $_pkg/usr/share/parole $fs/usr/share
40 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
42 # Clean-up & strip
43 rm -rf $fs/usr/share/icons/hicolor/scalable
44 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
47 }