wok-4.x diff gdk-pixbuf/receipt @ rev 6630
Added gdk-pixbuf. An image loading library for gtk2. Need for new gtk 2.22.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 10 12:08:08 2010 +0000 (2010-10-10) |
parents | |
children | 5fa2da48d92f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gdk-pixbuf/receipt Sun Oct 10 12:08:08 2010 +0000 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gdk-pixbuf" 1.7 +VERSION="2.22.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="An image loading library for gtk2" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="glib libgio libpng tiff jpeg xorg-libX11" 1.12 +BUILD_DEPENDS="$DEPENDS glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.gtk.org/" 1.15 +WGET_URL="http://download.gnome.org/sources/gdk-pixbuf/${VERSION%.*}/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + --without-libjasper \ 1.26 + --with-included-loaders=png \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && make DESTDIR=$PWD/_pkg install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/lib 1.35 + cp -a $_pkg/usr/bin $fs/usr 1.36 + cp -a $_pkg/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib 1.37 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.38 + 1.39 + # Config files 1.40 + mkdir -p $fs/etc/gtk-2.0 1.41 + $fs/usr/bin/gdk-pixbuf-query-loaders > $fs/etc/gtk-2.0/gdk-pixbuf.loaders 1.42 +} 1.43 + 1.44 +# Pre and post install commands for Tazpkg. 1.45 +post_install() 1.46 +{ 1.47 + local arg 1.48 + echo "Processing post-install commands..." 1.49 + chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders 1.50 + 1.51 +}