wok 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 | 720c1ab41e76 |
children | 483bd89e9d7d |
files | gdk-pixbuf-dev/receipt gdk-pixbuf/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gdk-pixbuf-dev/receipt Sun Oct 10 12:08:08 2010 +0000 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gdk-pixbuf-dev" 1.7 +VERSION="2.22.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for gdk-pixbuf" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="gdk-pixbuf" 1.12 +WEB_SITE="http://www.gtk.org/" 1.13 +WANTED="gdk-pixbuf" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 +} 1.22 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gdk-pixbuf/receipt Sun Oct 10 12:08:08 2010 +0000 2.3 @@ -0,0 +1,48 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="gdk-pixbuf" 2.7 +VERSION="2.22.0" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="An image loading library for gtk2" 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="glib libgio libpng tiff jpeg xorg-libX11" 2.12 +BUILD_DEPENDS="$DEPENDS glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://www.gtk.org/" 2.15 +WGET_URL="http://download.gnome.org/sources/gdk-pixbuf/${VERSION%.*}/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure \ 2.22 + --prefix=/usr \ 2.23 + --infodir=/usr/share/info \ 2.24 + --mandir=/usr/share/man \ 2.25 + --without-libjasper \ 2.26 + --with-included-loaders=png \ 2.27 + $CONFIGURE_ARGS && 2.28 + make && make DESTDIR=$PWD/_pkg install 2.29 +} 2.30 + 2.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.32 +genpkg_rules() 2.33 +{ 2.34 + mkdir -p $fs/usr/lib 2.35 + cp -a $_pkg/usr/bin $fs/usr 2.36 + cp -a $_pkg/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib 2.37 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.38 + 2.39 + # Config files 2.40 + mkdir -p $fs/etc/gtk-2.0 2.41 + $fs/usr/bin/gdk-pixbuf-query-loaders > $fs/etc/gtk-2.0/gdk-pixbuf.loaders 2.42 +} 2.43 + 2.44 +# Pre and post install commands for Tazpkg. 2.45 +post_install() 2.46 +{ 2.47 + local arg 2.48 + echo "Processing post-install commands..." 2.49 + chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders 2.50 + 2.51 +}