wok-6.x diff imlib2/receipt @ rev 13652

Fix: motion build and improve package integration
author Christophe Lincoln <pankso@slitaz.org>
date Mon Nov 19 14:21:21 2012 +0100 (2012-11-19)
parents 73641efed1cc
children 7bb096863642
line diff
     1.1 --- a/imlib2/receipt	Mon Apr 23 16:30:27 2012 +0200
     1.2 +++ b/imlib2/receipt	Mon Nov 19 14:21:21 2012 +0100
     1.3 @@ -1,17 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="imlib2"
     1.7 -VERSION="1.4.4"
     1.8 +VERSION="1.4.5"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Imlib graphic library."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://sourceforge.net/projects/enlightenment/"
    1.14 +WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
    1.15 +
    1.16  DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
    1.17  xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
    1.18  xorg-libICE"
    1.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"
    1.20 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 -WEB_SITE="http://sourceforge.net/projects/enlightenment/"
    1.22 -WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
    1.23 +BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
    1.24 +xorg-libXpm-dev xorg-xextproto libid3tag-dev xorg-dev pkg-config \
    1.25 +freetype-dev zlib-dev util-linux-uuid-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29 @@ -23,21 +26,20 @@
    1.30  		--mandir=/usr/share/man \
    1.31  		--with-x \
    1.32  		$CONFIGURE_ARGS &&
    1.33 -	make &&
    1.34 -	make DESTDIR=$PWD/_pkg install
    1.35 +	make && make install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib/imlib2 $fs/usr/bin
    1.42 -	
    1.43 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.44 -	mkdir -p $fs/usr/lib/imlib2/filters
    1.45 -	cp -a $_pkg/usr/lib/imlib2/filters/*.so* $fs/usr/lib/imlib2/filters
    1.46 -	mkdir -p $fs/usr/lib/imlib2/loaders
    1.47 -	cp -a $_pkg/usr/lib/imlib2/loaders/*.so* $fs/usr/lib/imlib2/loaders
    1.48 -	
    1.49 -	cp -a $_pkg/usr/bin/imlib2_* $fs/usr/bin
    1.50 +	mkdir -p $fs/usr/bin \
    1.51 +		$fs/usr/lib/imlib2/filters \
    1.52 +		$fs/usr/lib/imlib2/loaders
    1.53 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.54 +	cp -a $install/usr/lib/imlib2/filters/*.so* \
    1.55 +		$fs/usr/lib/imlib2/filters
    1.56 +	cp -a $install/usr/lib/imlib2/loaders/*.so* \
    1.57 +		$fs/usr/lib/imlib2/loaders
    1.58 +	cp -a $install/usr/bin/imlib2_* $fs/usr/bin
    1.59  }
    1.60