wok-6.x view gdk-pixbuf/receipt @ rev 12943

imagemagick: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 17:52:09 2012 +0200 (2012-05-30)
parents ef7dfb4c0950
children 87f5f812070b
line source
1 # SliTaz package receipt.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.26.1"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for gtk2"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.gtk.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
11 CROSS="bug: can not run test program"
13 DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
14 BUILD_DEPENDS="libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev \
15 xorg-libX11-dev zlib-dev pkg-config gobject-introspection-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --disable-glibtest \
23 --without-libjasper \
24 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
34 $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
35 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 touch $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
38 }
40 # Pre and post install commands for Tazpkg.
41 post_install()
42 {
43 echo -n "Updating gdk pixbuf loaders cache file..."
44 chroot $root/ /usr/bin/gdk-pixbuf-query-loaders --update-cache
45 status
46 }