wok-next view parole/receipt @ rev 17041

slitaz-configs-base: /home may not exist (cookiso case)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 19 13:06:45 2014 +0200 (2014-08-19)
parents 380ffe05937a
children e70c0b9c5adf
line source
1 # SliTaz package receipt.
3 PACKAGE="parole"
4 VERSION="0.5.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Media Player for Xfce."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
11 WGET_URL="http://archive.xfce.org/src/apps/parole/${VERSION:0:3}/$TARBALL"
13 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
14 startup-notification libnotify gstreamer util-linux-uuid"
15 BUILD_DEPENDS="intltool libxfcegui4-dev libxfce4util-dev dbus-glib-dev \
16 libgio-dev gst-plugins-base-dev taglib-dev startup-notification-dev \
17 libnotify-dev gstreamer-dev util-linux-uuid-dev coreutils-operations \
18 gtk+-dev libxml2-dev orc-dev libxfconf-dev libxfce4ui-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --libexecdir=/usr/lib/$PACKAGE \
26 --disable-debug \
27 --disable-power-manager-plugin \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/icons \
36 $fs/usr/share/pixmaps
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
41 cp -a $install/usr/share/parole $fs/usr/share
43 cd $fs/usr/share/pixmaps
44 ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
46 # Clean-up & strip
47 rm -rf $fs/usr/share/icons/hicolor/scalable
48 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
49 }