wok-current view gdk-pixbuf/receipt @ rev 12239
ocsinventory-agent: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:13:59 2012 +0200 (2012-04-09) |
parents | 004b13a5d231 37d744940e6c |
children | 072b7a6d6f36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.24.0"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for gtk2"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
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 $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/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 $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
36 cp -a $_pkg/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 $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache
45 status
46 }