wok rev 22

Add : GTK+ with libs (atk, glib, etc)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:47:26 2007 +0100 (2007-12-18)
parents 04d4bd759667
children 8e5c96401d01
files atk-dev/receipt atk/receipt cairo-dev/receipt cairo/receipt glib-dev/receipt glib/receipt gtk+-demo/receipt gtk+-dev/receipt gtk+/receipt pango-dev/receipt pango/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/atk-dev/receipt	Tue Dec 18 13:47:26 2007 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="atk-dev"
     1.7 +VERSION="1.12.4"
     1.8 +CATEGORY="devel"
     1.9 +SHORT_DESC="Accessibility toolkit devel files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="atk"
    1.12 +WEB_SITE="http://www.gnome.org/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +    mkdir -p $fs/usr/lib
    1.18 +    cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.19 +    cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.20 +    cp -a $_pkg/usr/include $fs/usr
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/atk/receipt	Tue Dec 18 13:47:26 2007 +0100
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="atk"
     2.7 +VERSION="1.12.4"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Accessibility toolkit."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12 +WEB_SITE="http://www.gnome.org/"
    2.13 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/atk/1.12/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +    cd $src
    2.19 +    ./configure --prefix=/usr --mandir=/usr/share/man \
    2.20 +    --with-html-dir=/usr/share/doc $CONFIGURE_ARGS
    2.21 +    make
    2.22 +    make DESTDIR=$PWD/_pkg install
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +    mkdir -p $fs/usr/lib $fs/usr/share/locale
    2.29 +    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.30 +    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    2.31 +    strip -s $fs/usr/lib/*.so*
    2.32 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/cairo-dev/receipt	Tue Dec 18 13:47:26 2007 +0100
     3.3 @@ -0,0 +1,18 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="cairo-dev"
     3.7 +VERSION="1.4.10"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="2D graphics library devel files."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +WEB_SITE="http://www.cairographics.org/"
    3.12 +WANTED="cairo"
    3.13 +
    3.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.15 +genpkg_rules()
    3.16 +{
    3.17 +    mkdir -p $fs/usr/lib
    3.18 +    cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    3.19 +    cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    3.20 +    cp -a $_pkg/usr/include $fs/usr
    3.21 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/cairo/receipt	Tue Dec 18 13:47:26 2007 +0100
     4.3 @@ -0,0 +1,28 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="cairo"
     4.7 +VERSION="1.4.10"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="2D graphics library."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.12 +WEB_SITE="http://www.cairographics.org/"
    4.13 +WGET_URL="http://cairographics.org/releases/$TARBALL"
    4.14 +
    4.15 +# Rules to configure and make the package.
    4.16 +compile_rules()
    4.17 +{
    4.18 +    cd $src
    4.19 +    ./configure --prefix=/usr --mandir=/usr/share/man \
    4.20 +    --with-html-dir=/usr/share/doc $CONFIGURE_ARGS
    4.21 +    make
    4.22 +    make DESTDIR=$PWD/_pkg install
    4.23 +}
    4.24 +
    4.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.26 +genpkg_rules()
    4.27 +{
    4.28 +	mkdir -p $fs/usr/lib
    4.29 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    4.30 +    strip --strip-unneeded $fs/usr/lib/*
    4.31 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/glib-dev/receipt	Tue Dec 18 13:47:26 2007 +0100
     5.3 @@ -0,0 +1,23 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="glib-dev"
     5.7 +VERSION="2.12.4"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="C routines devel files and utilities."
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +WANTED="glib"
    5.12 +WEB_SITE="http://www.gtk.org/"
    5.13 +
    5.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.15 +genpkg_rules()
    5.16 +{
    5.17 +    mkdir -p $fs/usr/lib $fs/usr/share
    5.18 +    cp -a $_pkg/usr/bin $fs/usr
    5.19 +    strip --strip-unneeded $fs/usr/bin/* 2>/dev/null
    5.20 +    cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    5.21 +    cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    5.22 +    cp -a $_pkg/usr/lib/glib* $fs/usr/lib
    5.23 +    cp -a $_pkg/usr/include $fs/usr
    5.24 +    cp -a $_pkg/usr/share/aclocal $fs/usr/share
    5.25 +    cp -a $_pkg/usr/share/glib-2.0 $fs/usr/share
    5.26 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/glib/receipt	Tue Dec 18 13:47:26 2007 +0100
     6.3 @@ -0,0 +1,30 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="glib"
     6.7 +VERSION="2.12.4"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="C routines."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.12 +WEB_SITE="http://www.gtk.org/"
    6.13 +WGET_URL="ftp://ftp.gtk.org/pub/glib/2.12/$TARBALL"
    6.14 +
    6.15 +# Rules to configure and make the package.
    6.16 +compile_rules()
    6.17 +{
    6.18 +    cd $src
    6.19 +    ./configure --prefix=/usr --sysconfdir=/etc \
    6.20 +    --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
    6.21 +    $CONFIGURE_ARGS
    6.22 +    make
    6.23 +    make DESTDIR=$PWD/_pkg install
    6.24 +}
    6.25 +
    6.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.27 +genpkg_rules()
    6.28 +{
    6.29 +	mkdir -p $fs/usr/lib $fs/usr/share/locale
    6.30 +    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    6.31 +    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    6.32 +    strip --strip-unneeded $fs/usr/lib/*
    6.33 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/gtk+-demo/receipt	Tue Dec 18 13:47:26 2007 +0100
     7.3 @@ -0,0 +1,18 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="gtk+-demo"
     7.7 +VERSION="2.8.20"
     7.8 +CATEGORY="extra"
     7.9 +SHORT_DESC="The GIMP Toolkit example code and demo."
    7.10 +MAINTAINER="pankso@slitaz.org"
    7.11 +DEPENDS="gtk+"
    7.12 +WANTED="gtk+"
    7.13 +WEB_SITE="http://www.gtk.org/"
    7.14 +
    7.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.16 +genpkg_rules()
    7.17 +{
    7.18 +	mkdir -p $fs/usr/bin $fs/usr/share
    7.19 +    cp -a $_pkg/usr/bin/gtk-demo $fs/usr/bin
    7.20 +    cp -a $_pkg/usr/share/gtk-2.0 $fs/usr/share
    7.21 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/gtk+-dev/receipt	Tue Dec 18 13:47:26 2007 +0100
     8.3 @@ -0,0 +1,23 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="gtk+-dev"
     8.7 +VERSION="2.8.20"
     8.8 +CATEGORY="x-window"
     8.9 +SHORT_DESC="The GIMP Toolkit."
    8.10 +MAINTAINER="pankso@slitaz.org"
    8.11 +DEPENDS="cairo-dev glib-dev pango-dev atk-dev tiff-dev pkg-config"
    8.12 +WANTED="gtk+"
    8.13 +WEB_SITE="http://www.gtk.org/"
    8.14 +
    8.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.16 +genpkg_rules()
    8.17 +{
    8.18 +	mkdir -p $fs/usr/lib $fs/usr/share
    8.19 +    cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    8.20 +    cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    8.21 +    # Copy all libs and remove the shared.
    8.22 +    cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib
    8.23 +    rm -rf $fs/usr/lib/gtk-2.0/2.4.0/*/*.so*
    8.24 +    cp -a $_pkg/usr/include $fs/usr
    8.25 +    cp -a $_pkg/usr/share/aclocal $fs/usr/share
    8.26 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/gtk+/receipt	Tue Dec 18 13:47:26 2007 +0100
     9.3 @@ -0,0 +1,59 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="gtk+"
     9.7 +VERSION="2.8.20"
     9.8 +CATEGORY="x-window"
     9.9 +SHORT_DESC="The GIMP Toolkit."
    9.10 +MAINTAINER="pankso@slitaz.org"
    9.11 +DEPENDS="cairo glib pango atk"
    9.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    9.13 +WEB_SITE="http://www.gtk.org/"
    9.14 +WGET_URL="ftp://ftp.gtk.org/pub/gtk/v2.8/$TARBALL"
    9.15 +
    9.16 +# Rules to configure and make the package.
    9.17 +compile_rules()
    9.18 +{
    9.19 +    cd $src
    9.20 +    ./configure --prefix=/usr --sysconfdir=/etc \
    9.21 +    --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
    9.22 +    $CONFIGURE_ARGS
    9.23 +    make
    9.24 +    make DESTDIR=$PWD/_pkg install
    9.25 +}
    9.26 +
    9.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.28 +genpkg_rules()
    9.29 +{
    9.30 +	mkdir -p $fs/usr/lib/gtk-2.0 $fs/usr/share/locale $fs/usr/bin
    9.31 +	# Libs.
    9.32 +    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    9.33 +    cp -a $_pkg/usr/lib/gtk-2.0/2.4.0 $fs/usr/lib/gtk-2.0
    9.34 +    rm -rf $fs/usr/lib/gtk-2.0/2.4.0/*/*.la
    9.35 +    # Locale.
    9.36 +    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    9.37 +    cp -a $_pkg/usr/share/themes $fs/usr/share
    9.38 +    # Apps.
    9.39 +    cp  $_pkg/usr/bin/gtk-query-immodules-2.0 $fs/usr/bin
    9.40 +    cp  $_pkg/usr/bin/gtk-update-icon-cache $fs/usr/bin
    9.41 +    cp  $_pkg/usr/bin/gdk-pixbuf-csource $fs/usr/bin
    9.42 +    cp  $_pkg/usr/bin/gdk-pixbuf-query-loaders $fs/usr/bin
    9.43 +    # Config files.
    9.44 +    mkdir -p $fs/etc/gtk-2.0
    9.45 +    gtk-query-immodules-2.0 > $fs/etc/gtk-2.0/gtk.immodules
    9.46 +    gdk-pixbuf-query-loaders > $fs/etc/gtk-2.0/gdk-pixbuf.loaders
    9.47 +    # Strip all files.
    9.48 +    strip --strip-all $fs/usr/bin/*
    9.49 +    strip --strip-unneeded $fs/usr/lib/*.so*
    9.50 +    strip --strip-unneeded $fs/usr/lib/gtk-2.0/2.4.0/*/*
    9.51 +}
    9.52 +
    9.53 +# Pre and post install commands for Tazpkg.
    9.54 +post_install()
    9.55 +{
    9.56 +    local root
    9.57 +    root=$1
    9.58 +    echo "Processing post-install commands..."
    9.59 +    /usr/bin/gtk-query-immodules-2.0 > $root/etc/gtk-2.0/gtk.immodules
    9.60 +    /usr/bin/gdk-pixbuf-query-loaders > $root/etc/gtk-2.0/gdk-pixbuf.loaders
    9.61 +}
    9.62 +SELF_INSTALL=1
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/pango-dev/receipt	Tue Dec 18 13:47:26 2007 +0100
    10.3 @@ -0,0 +1,32 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="pango-dev"
    10.7 +VERSION="1.14.8"
    10.8 +CATEGORY="x-window"
    10.9 +SHORT_DESC="Library for layout and rendering of text devel files."
   10.10 +MAINTAINER="pankso@slitaz.org"
   10.11 +WANTED="pango"
   10.12 +WEB_SITE="http://www.pango.org/"
   10.13 +
   10.14 +
   10.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.16 +genpkg_rules()
   10.17 +{
   10.18 +	mkdir -p $fs/usr/lib
   10.19 +    cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
   10.20 +    cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
   10.21 +    cp -a $_pkg/usr/include $fs/usr
   10.22 +    cp -a $_pkg/usr/lib/pango $fs/usr/lib
   10.23 +    rm -rf $fs/usr/lib/pango/1.5.0/modules/*.so
   10.24 +}
   10.25 +
   10.26 +# Pre and post install commands for Tazpkg.
   10.27 +post_install()
   10.28 +{
   10.29 +    local root
   10.30 +    root=$1
   10.31 +    echo "Processing post-install commands..."
   10.32 +    # Rebuils pango.modules when installed.
   10.33 +    pango-querymodules > $root/etc/pango/pango.modules
   10.34 +}
   10.35 +SELF_INSTALL=1
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/pango/receipt	Tue Dec 18 13:47:26 2007 +0100
    11.3 @@ -0,0 +1,48 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="pango"
    11.7 +VERSION="1.14.8"
    11.8 +CATEGORY="x-window"
    11.9 +SHORT_DESC="Library for layout and rendering of text."
   11.10 +MAINTAINER="pankso@slitaz.org"
   11.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   11.12 +WEB_SITE="http://www.pango.org/"
   11.13 +WGET_URL="ftp://ftp.gtk.org/pub/pango/1.14/$TARBALL"
   11.14 +
   11.15 +# Rules to configure and make the package.
   11.16 +compile_rules()
   11.17 +{
   11.18 +    cd $src
   11.19 +    ./configure --prefix=/usr --sysconfdir=/etc \
   11.20 +    --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
   11.21 +    $CONFIGURE_ARGS
   11.22 +    make
   11.23 +    make DESTDIR=$PWD/_pkg install
   11.24 +}
   11.25 +
   11.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.27 +genpkg_rules()
   11.28 +{
   11.29 +	mkdir -p $fs/usr/bin $fs/usr/lib
   11.30 +    cp -a $_pkg/usr/bin/* $fs/usr/bin
   11.31 +    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
   11.32 +    cp -a $_pkg/usr/lib/pango $fs/usr/lib
   11.33 +    rm -rf $fs/usr/lib/pango/1.5.0/modules/*.la
   11.34 +    cp -a $_pkg/etc $fs
   11.35 +    pango-querymodules > $fs/etc/pango/pango.modules
   11.36 +    # Strip.
   11.37 +    strip --strip-unneeded $fs/usr/bin/*
   11.38 +    strip --strip-unneeded $fs/usr/lib/*.so*
   11.39 +    strip --strip-unneeded $fs/usr/lib/pango/1.5.0/modules/*
   11.40 +}
   11.41 +
   11.42 +# Pre and post install commands for Tazpkg.
   11.43 +post_install()
   11.44 +{
   11.45 +    local root
   11.46 +    root=$1
   11.47 +    echo "Processing post-install commands..."
   11.48 +    # Rebuils pango.modules when installed.
   11.49 +    pango-querymodules > $root/etc/pango/pango.modules
   11.50 +}
   11.51 +SELF_INSTALL=1