wok view parole/receipt @ rev 16403
X86_64: add liblzma
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 16 11:50:05 2014 +0000 (2014-04-16) |
parents | 380ffe05937a |
children | 6e8b1bcb30e2 |
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 }