wok-current view parole/receipt @ rev 9625
vlc: Fix DEPENDS alsa is not a package + move *DEPENDS var under all other since there are enormous ans it's simple to read
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 24 01:02:03 2011 +0200 (2011-04-24) |
parents | f3327707164a |
children | e06c07bd8d46 |
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="intltool"
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 }