wok-next view gdk-pixbuf/receipt @ rev 13942
Up cookutils (3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 09:55:53 2013 +0100 (2013-01-27) |
parents | 072b7a6d6f36 |
children | 380ffe05937a |
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 --with-x11 \
25 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
35 $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
36 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 touch $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
39 }
41 # Pre and post install commands for Tazpkg.
42 post_install()
43 {
44 echo -n "Updating gdk pixbuf loaders cache file..."
45 chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache
46 status
47 }