wok diff tumbler/receipt @ rev 14584

Remove pigz for moment, because not compile correctly
author Stanislas Leduc <shann@slitaz.org>
date Sun May 26 17:59:51 2013 +0200 (2013-05-26)
parents
children 01010da01a4a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tumbler/receipt	Sun May 26 17:59:51 2013 +0200
     1.3 @@ -0,0 +1,50 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tumbler"
     1.7 +VERSION="0.1.27"
     1.8 +CATEGORY="system"
     1.9 +SHORT_DESC="A D-Bus thumbnailing service based on the thumbnail management D-Bus specification"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2 LGPL2.1+"
    1.12 +WEB_SITE="http://www.ohloh.net/p/tumbler-xfce"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +HI_VERSION=$(echo $VERSION | cut -d. -f1,2)
    1.15 +WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/$HI_VERSION/$TARBALL"
    1.16 +CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
    1.17 +
    1.18 +DEPENDS="dbus-glib ffmpegthumbnailer libcurl libgsf poppler"
    1.19 +BUILD_DEPENDS="dbus-glib-dev curl-dev  glib-dev libgio-dev gdk-pixbuf-dev \
    1.20 +freetype-dev jpeg-dev ffmpegthumbnailer-dev gst-plugins-base-dev \
    1.21 +libgsf-dev poppler-dev libpng-dev lcms-dev" # gstreamer-dev (v.1.0)
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	./configure \
    1.27 +		--sysconfdir=/etc \
    1.28 +		--enable-debug=no \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make &&
    1.31 +	make install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p \
    1.38 +		$fs/usr/lib \
    1.39 +		$fs/usr/share/locale
    1.40 +	cp -a $install/etc $fs
    1.41 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42 +	cp -a $install/usr/lib/tumbler* $fs/usr/lib
    1.43 +	find $fs/usr/lib -name '*.la' -delete
    1.44 +	cp -a $install/usr/share/dbus* $fs/usr/share
    1.45 +
    1.46 +	# SliTaz locale settings
    1.47 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.48 +	for lang in $LOCALE_PACK; do
    1.49 +		langd=$install/usr/share/locale/$lang
    1.50 +		[ -d $langd ] && cp -a $langd $fs/usr/share/locale
    1.51 +	done
    1.52 +	true
    1.53 +}