wok-next rev 842

glib, glibmm: split libgio (-500 Kb)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 18 15:15:28 2008 +0200 (2008-05-18)
parents 120752ff7aa1
children 0f87db997e1e
files glib-dev/receipt glib/receipt glibmm-dev/receipt glibmm/receipt libgio-dev/receipt libgio/receipt libgiomm-dev/receipt libgiomm/receipt
line diff
     1.1 --- a/glib-dev/receipt	Sun May 18 13:36:02 2008 +0000
     1.2 +++ b/glib-dev/receipt	Sun May 18 15:15:28 2008 +0200
     1.3 @@ -11,12 +11,16 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -    mkdir -p $fs/usr/lib $fs/usr/share
     1.8 -    cp -a $_pkg/usr/bin $fs/usr
     1.9 -    cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.10 -    cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.11 -    cp -a $_pkg/usr/lib/glib* $fs/usr/lib
    1.12 -    cp -a $_pkg/usr/include $fs/usr
    1.13 -    cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.14 -    cp -a $_pkg/usr/share/glib-2.0 $fs/usr/share
    1.15 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.16 +	cp -a $_pkg/usr/bin $fs/usr
    1.17 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/lib/glib* $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.22 +	cp -a $_pkg/usr/share/glib-2.0 $fs/usr/share
    1.23 +	# Remove libgio-dev
    1.24 +	rm -rf $fs/usr/lib/libgio*.*a
    1.25 +	rm -rf $fs/usr/include/gio-unix-2.0
    1.26 +	rm $fs/usr/lib/pkgconfig/gio*.pc
    1.27  }
     2.1 --- a/glib/receipt	Sun May 18 13:36:02 2008 +0000
     2.2 +++ b/glib/receipt	Sun May 18 15:15:28 2008 +0200
     2.3 @@ -13,20 +13,22 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -    cd $src
     2.8 -    ./configure \
     2.9 -    	--prefix=/usr \
    2.10 -    	--sysconfdir=/etc \
    2.11 -    	--mandir=/usr/share/man \
    2.12 -    	--with-html-dir=/usr/share/doc \
    2.13 -    	$CONFIGURE_ARGS
    2.14 -    make
    2.15 -    make DESTDIR=$PWD/_pkg install
    2.16 +	cd $src
    2.17 +	./configure \
    2.18 +		--prefix=/usr \
    2.19 +		--sysconfdir=/etc \
    2.20 +		--mandir=/usr/share/man \
    2.21 +		--with-html-dir=/usr/share/doc \
    2.22 +		$CONFIGURE_ARGS
    2.23 +	make
    2.24 +	make DESTDIR=$PWD/_pkg install
    2.25  }
    2.26  
    2.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.28  genpkg_rules()
    2.29  {
    2.30  	mkdir -p $fs/usr/lib
    2.31 -    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.32 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.33 +	# split libgio
    2.34 +	rm $fs/usr/lib/libgio*
    2.35  }
     3.1 --- a/glibmm-dev/receipt	Sun May 18 13:36:02 2008 +0000
     3.2 +++ b/glibmm-dev/receipt	Sun May 18 15:15:28 2008 +0200
     3.3 @@ -17,4 +17,8 @@
     3.4  	cp -a $_pkg/usr/lib/glibmm-2.4 $fs/usr/lib
     3.5  	cp -a $_pkg/usr/include $fs/usr
     3.6  	cp -a $_pkg/usr/share/aclocal $fs/usr/share
     3.7 +	# Remove libgiomm-dev
     3.8 +	rm -rf $fs/usr/lib/libgiomm*.*a
     3.9 +	rm -rf $fs/usr/lib/pkgconfig/giomm-2.4.pc
    3.10 +	rm -rf $fs/usr/include/giomm-2.4
    3.11  }
     4.1 --- a/glibmm/receipt	Sun May 18 13:36:02 2008 +0000
     4.2 +++ b/glibmm/receipt	Sun May 18 15:15:28 2008 +0200
     4.3 @@ -5,7 +5,7 @@
     4.4  CATEGORY="x-window"
     4.5  SHORT_DESC="C++ interface for the popular GUI library GTK+."
     4.6  MAINTAINER="pankso@slitaz.org"
     4.7 -BUILD_DEPENDS="libsigc++ libsigc++-dev"
     4.8 +BUILD_DEPENDS="libsigc++ libsigc++-dev libgio libgio-dev"
     4.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.10  WEB_SITE="http://www.gtkmm.org/"
    4.11  WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.16/$TARBALL"
    4.12 @@ -28,5 +28,6 @@
    4.13  {
    4.14  	mkdir -p $fs/usr/lib
    4.15  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    4.16 -	strip -s $fs/usr/lib/*
    4.17 +	# Remove libgiomm
    4.18 +	rm -rf $fs/usr/lib/libgiomm*
    4.19  }
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/libgio-dev/receipt	Sun May 18 15:15:28 2008 +0200
     5.3 @@ -0,0 +1,18 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="libgio-dev"
     5.7 +VERSION="2.16.3"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="Glib libgio shared library."
    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/pkgconfig $fs/usr/include
    5.18 +	cp -a $_pkg/usr/lib/libgio*.*a $fs/usr/lib
    5.19 +	cp -a $_pkg/usr/lib/pkgconfig/gio*.pc $fs/usr/lib/pkgconfig
    5.20 +	cp -a $_pkg/usr/include/gio-unix-2.0 $fs/usr/include
    5.21 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/libgio/receipt	Sun May 18 15:15:28 2008 +0200
     6.3 @@ -0,0 +1,16 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="libgio"
     6.7 +VERSION="2.16.3"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="Glib libgio shared library."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +WANTED="glib"
    6.12 +WEB_SITE="http://www.gtk.org/"
    6.13 +
    6.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.15 +genpkg_rules()
    6.16 +{
    6.17 +    mkdir -p $fs/usr/lib
    6.18 +    cp -a $_pkg/usr/lib/libgio*.so* $fs/usr/lib
    6.19 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/libgiomm-dev/receipt	Sun May 18 15:15:28 2008 +0200
     7.3 @@ -0,0 +1,19 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="libgiomm-dev"
     7.7 +VERSION="2.16.2"
     7.8 +CATEGORY="development"
     7.9 +SHORT_DESC="GIO Framework for C++ devel files."
    7.10 +MAINTAINER="pankso@slitaz.org"
    7.11 +WANTED="glibmm"
    7.12 +WEB_SITE="http://www.gtkmm.org/"
    7.13 +
    7.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.15 +genpkg_rules()
    7.16 +{
    7.17 +	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include
    7.18 +	cp -a $_pkg/usr/lib/libgiomm*.*a $fs/usr/lib
    7.19 +	cp -a $_pkg/usr/lib/pkgconfig/giomm-2.4.pc $fs/usr/lib/pkgconfig
    7.20 +	cp -a $_pkg/usr/lib/giomm-2.4 $fs/usr/lib
    7.21 +	cp -a $_pkg/usr/include/giomm-2.4 $fs/usr/include
    7.22 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/libgiomm/receipt	Sun May 18 15:15:28 2008 +0200
     8.3 @@ -0,0 +1,16 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="libgiomm"
     8.7 +VERSION="2.16.2"
     8.8 +CATEGORY="x-window"
     8.9 +SHORT_DESC="GIO Framework for C++."
    8.10 +MAINTAINER="pankso@slitaz.org"
    8.11 +WANTED="glibmm"
    8.12 +WEB_SITE="http://www.gtkmm.org/"
    8.13 +
    8.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.15 +genpkg_rules()
    8.16 +{
    8.17 +	mkdir -p $fs/usr/lib
    8.18 +	cp -a $_pkg/usr/lib/libgiomm*.so* $fs/usr/lib
    8.19 +}