wok rev 13563

Up: imlimb2 (1.4.5) and clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 03 14:18:38 2012 +0100 (2012-11-03)
parents 63fd5f8d7367
children f378aed899f6
files imlib2-dev/receipt imlib2/receipt
line diff
     1.1 --- a/imlib2-dev/receipt	Sat Nov 03 10:53:06 2012 +0100
     1.2 +++ b/imlib2-dev/receipt	Sat Nov 03 14:18:38 2012 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="imlib2-dev"
     1.7 -VERSION="1.4.4"
     1.8 +VERSION="1.4.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Imlib graphic library devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -12,17 +12,15 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib $fs/usr/bin
    1.17 -	
    1.18 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.19 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.20 -	
    1.21 -	mkdir -p $fs/usr/lib/imlib2/filters
    1.22 -	cp -a $_pkg/usr/lib/imlib2/filters/*.*a $fs/usr/lib/imlib2/filters
    1.23 -	mkdir -p $fs/usr/lib/imlib2/loaders
    1.24 -	cp -a $_pkg/usr/lib/imlib2/loaders/*.*a $fs/usr/lib/imlib2/loaders
    1.25 -	
    1.26 -	cp -a $_pkg/usr/include $fs/usr
    1.27 -	cp -a $_pkg/usr/bin/imlib2-config $fs/usr/bin
    1.28 +	mkdir -p $fs/usr/bin \
    1.29 +		$fs/usr/lib/imlib2/filters \
    1.30 +		$fs/usr/lib/imlib2/loaders
    1.31 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.32 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.33 +	cp -a $install/usr/lib/imlib2/filters/*.*a \
    1.34 +		$fs/usr/lib/imlib2/filters
    1.35 +	cp -a $install/usr/lib/imlib2/loaders/*.*a \
    1.36 +		$fs/usr/lib/imlib2/loaders
    1.37 +	cp -a $install/usr/include $fs/usr
    1.38 +	cp -a $install/usr/bin/imlib2-config $fs/usr/bin
    1.39  }
    1.40 -
     2.1 --- a/imlib2/receipt	Sat Nov 03 10:53:06 2012 +0100
     2.2 +++ b/imlib2/receipt	Sat Nov 03 14:18:38 2012 +0100
     2.3 @@ -1,17 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="imlib2"
     2.7 -VERSION="1.4.4"
     2.8 +VERSION="1.4.5"
     2.9  CATEGORY="graphics"
    2.10  SHORT_DESC="Imlib graphic library."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://sourceforge.net/projects/enlightenment/"
    2.14 +WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
    2.15 +
    2.16  DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
    2.17  xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
    2.18  xorg-libICE"
    2.19 -BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev xorg-libXpm-dev xorg-xextproto libid3tag-dev xorg-dev pkg-config freetype-dev zlib-dev util-linux-uuid-dev"
    2.20 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.21 -WEB_SITE="http://sourceforge.net/projects/enlightenment/"
    2.22 -WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
    2.23 +BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
    2.24 +xorg-libXpm-dev xorg-xextproto libid3tag-dev xorg-dev pkg-config \
    2.25 +freetype-dev zlib-dev util-linux-uuid-dev"
    2.26  
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29 @@ -23,21 +26,20 @@
    2.30  		--mandir=/usr/share/man \
    2.31  		--with-x \
    2.32  		$CONFIGURE_ARGS &&
    2.33 -	make &&
    2.34 -	make DESTDIR=$PWD/_pkg install
    2.35 +	make && make install
    2.36  }
    2.37  
    2.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.39  genpkg_rules()
    2.40  {
    2.41 -	mkdir -p $fs/usr/lib/imlib2 $fs/usr/bin
    2.42 -	
    2.43 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.44 -	mkdir -p $fs/usr/lib/imlib2/filters
    2.45 -	cp -a $_pkg/usr/lib/imlib2/filters/*.so* $fs/usr/lib/imlib2/filters
    2.46 -	mkdir -p $fs/usr/lib/imlib2/loaders
    2.47 -	cp -a $_pkg/usr/lib/imlib2/loaders/*.so* $fs/usr/lib/imlib2/loaders
    2.48 -	
    2.49 -	cp -a $_pkg/usr/bin/imlib2_* $fs/usr/bin
    2.50 +	mkdir -p $fs/usr/bin \
    2.51 +		$fs/usr/lib/imlib2/filters \
    2.52 +		$fs/usr/lib/imlib2/loaders
    2.53 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.54 +	cp -a $install/usr/lib/imlib2/filters/*.so* \
    2.55 +		$fs/usr/lib/imlib2/filters
    2.56 +	cp -a $install/usr/lib/imlib2/loaders/*.so* \
    2.57 +		$fs/usr/lib/imlib2/loaders
    2.58 +	cp -a $install/usr/bin/imlib2_* $fs/usr/bin
    2.59  }
    2.60