wok rev 4244

gegl: make package smaller and with less deps
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 22:50:22 2009 +0200 (2009-09-24)
parents c9c3cd46aa1a
children 11f3de21a6f4
files gegl-dev/receipt gegl/receipt
line diff
     1.1 --- a/gegl-dev/receipt	Thu Sep 24 22:32:00 2009 +0200
     1.2 +++ b/gegl-dev/receipt	Thu Sep 24 22:50:22 2009 +0200
     1.3 @@ -6,20 +6,16 @@
     1.4  SHORT_DESC="Generic Graphics Library dev files"
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  DEPENDS="gegl"
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.8  WEB_SITE="http://gegl.org/"
     1.9  WANTED="gegl"
    1.10  
    1.11 -
    1.12 -
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr/lib/gegl-0.0
    1.17 -	
    1.18 +
    1.19  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.20  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.21 -	cp -a $_pkg/usr/lib/gegl-0.0/*.*a $fs/usr/lib/gegl-0.0	
    1.22 +	cp -a $_pkg/usr/lib/gegl-0.0/*.*a $fs/usr/lib/gegl-0.0
    1.23  	cp -a $_pkg/usr/include $fs/usr
    1.24  }
    1.25 -
     2.1 --- a/gegl/receipt	Thu Sep 24 22:32:00 2009 +0200
     2.2 +++ b/gegl/receipt	Thu Sep 24 22:50:22 2009 +0200
     2.3 @@ -5,10 +5,10 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="Generic Graphics Library"
     2.6  MAINTAINER="erjo@slitaz.org"
     2.7 -DEPENDS="babl expat gtk+ jpeg libsdl xorg-libX11 xorg-libXau \
     2.8 -xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
     2.9 -xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage bzlib ffmpeg"
    2.10 -BUILD_DEPENDS="babl-dev libsdl-dev"
    2.11 +DEPENDS="babl expat gtk+ jpeg xorg-libX11 xorg-libXau xorg-libXcomposite \
    2.12 +xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
    2.13 +xorg-libXrandr xorg-libXrender xorg-libXdamage bzlib"
    2.14 +BUILD_DEPENDS="babl-dev jpeg-dev expat-dev xorg-dev"
    2.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16  WEB_SITE="http://gegl.org/"
    2.17  WGET_URL="ftp://ftp.gimp.org/pub/gegl/0.0/$TARBALL"
    2.18 @@ -17,8 +17,16 @@
    2.19  compile_rules()
    2.20  {
    2.21  	cd $src
    2.22 -	./configure --prefix=/usr \
    2.23 +	# Keep gegl light so we can make smaller gimp LiveCD flavors
    2.24 +	./configure \
    2.25 +		--prefix=/usr \
    2.26  		--disable-docs \
    2.27 +		--without-sdl \
    2.28 +		--without-librsvg \
    2.29 +		--without-graphviz \
    2.30 +		--without-lua \
    2.31 +		--without-libavformat \
    2.32 +		--without-libv4l \
    2.33  		$CONFIGURE_ARGS &&
    2.34  	make && make DESTDIR=$PWD/_pkg install
    2.35  }
    2.36 @@ -31,4 +39,3 @@
    2.37  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.38  	cp -a $_pkg/usr/lib/gegl-0.0/*.so* $fs/usr/lib/gegl
    2.39  }
    2.40 -