wok diff imlib2/receipt @ rev 22389

Add php-opcache
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 28 21:44:13 2019 +0100 (2019-11-28)
parents 86790a278e70
children 24e3f19fa20a
line diff
     1.1 --- a/imlib2/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/imlib2/receipt	Thu Nov 28 21:44:13 2019 +0100
     1.3 @@ -1,49 +1,55 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="imlib2"
     1.7 -VERSION="1.4.6"
     1.8 +VERSION="1.5.1"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Imlib graphic library."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL LGPL2"
    1.13 +WEB_SITE="https://sourceforge.net/projects/enlightenment/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://sourceforge.net/projects/enlightenment/"
    1.17  WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
    1.18 +
    1.19 +DEPENDS="bzlib jpeg freetype giflib libid3tag libpng tiff \
    1.20 +	xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    1.21 +	xorg-libXdmcp xorg-libXext xorg-libXpm"
    1.22 +BUILD_DEPENDS="bzip2-dev freetype-dev giflib-dev jpeg-dev \
    1.23 +	libid3tag-dev libpng-dev pkg-config tiff-dev \
    1.24 +	util-linux-uuid-dev xorg-libXpm-dev xorg-xextproto \
    1.25 +	zlib-dev"
    1.26 +
    1.27  HOST_ARCH="i486 arm"
    1.28 -
    1.29 -DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
    1.30 -xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
    1.31 -xorg-libICE"
    1.32 -BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
    1.33 -xorg-libXpm-dev xorg-xextproto libid3tag-dev pkg-config freetype-dev \
    1.34 -zlib-dev util-linux-uuid-dev"
    1.35 -
    1.36  # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
    1.37  # be modified manually
    1.38  
    1.39  # Rules to configure and make the package.
    1.40  compile_rules()
    1.41  {
    1.42 -	./configure \
    1.43 -		--prefix=/usr \
    1.44 -		--infodir=/usr/share/info \
    1.45 -		--mandir=/usr/share/man \
    1.46 -		--with-x \
    1.47 +	./configure				\
    1.48 +		--prefix=/usr			\
    1.49 +		--infodir=/usr/share/info	\
    1.50 +		--mandir=/usr/share/man		\
    1.51 +		--with-x			\
    1.52  		$CONFIGURE_ARGS &&
    1.53 -	make && make install
    1.54 +	make -j 1 &&
    1.55 +	make install
    1.56 +
    1.57  	sed -i 's| @my_libs@||' $install/usr/bin/imlib2-config
    1.58  }
    1.59  
    1.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.61  genpkg_rules()
    1.62  {
    1.63 -	mkdir -p $fs/usr/bin \
    1.64 -		$fs/usr/lib/imlib2/filters \
    1.65 +	mkdir -p				\
    1.66 +		$fs/usr/bin			\
    1.67 +		$fs/usr/lib/imlib2/filters	\
    1.68  		$fs/usr/lib/imlib2/loaders
    1.69 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.70 +
    1.71 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.72  	cp -a $install/usr/lib/imlib2/filters/*.so* \
    1.73  		$fs/usr/lib/imlib2/filters
    1.74  	cp -a $install/usr/lib/imlib2/loaders/*.so* \
    1.75  		$fs/usr/lib/imlib2/loaders
    1.76 -	cp -a $install/usr/bin/imlib2_* $fs/usr/bin
    1.77 -}
    1.78 \ No newline at end of file
    1.79 +	cp -a $install/usr/bin/imlib2_*	$fs/usr/bin
    1.80 +}