wok-6.x view tumbler/receipt @ rev 16686
trigger slitaz-dev-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 19 17:35:09 2014 +0000 (2014-05-19) |
parents | 7d2d18df600d |
children | feb2e0c63d21 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tumbler"
4 VERSION="0.1.27"
5 CATEGORY="system-tools"
6 SHORT_DESC="A D-Bus thumbnailing service based on the thumbnail management D-Bus specification"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://www.ohloh.net/p/tumbler-xfce"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 HI_VERSION=$(echo $VERSION | cut -d. -f1,2)
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/$HI_VERSION/$TARBALL"
13 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
15 DEPENDS="dbus-glib ffmpegthumbnailer libcurl libgsf poppler"
16 BUILD_DEPENDS="dbus-glib-dev curl-dev glib-dev libgio-dev gdk-pixbuf-dev \
17 freetype-dev jpeg-dev ffmpegthumbnailer-dev gst-plugins-base-dev \
18 libgsf-dev poppler-dev libpng-dev lcms-dev tiff-dev" # gstreamer-dev (v.1.0)
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --enable-debug=no \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p \
35 $fs/usr/lib \
36 $fs/usr/share/locale
37 cp -a $install/etc $fs
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/tumbler* $fs/usr/lib
40 find $fs/usr/lib -name '*.la' -delete
41 cp -a $install/usr/share/dbus* $fs/usr/share
43 # SliTaz locale settings
44 . $WOK/slitaz-i18n/stuff/locale-pack.conf
45 for lang in $LOCALE_PACK; do
46 langd=$install/usr/share/locale/$lang
47 [ -d $langd ] && cp -a $langd $fs/usr/share/locale
48 done
49 true
50 }