wok-current diff babl/receipt @ rev 23487

updated python-gammu (2.7 -> 2.12)
author Hans-G?nter Theisgen
date Sun Apr 05 17:20:51 2020 +0100 (2020-04-05)
parents ec8a5b44e2fd
children 05c8d8d9d934
line diff
     1.1 --- a/babl/receipt	Mon Apr 03 20:09:50 2017 +0000
     1.2 +++ b/babl/receipt	Sun Apr 05 17:20:51 2020 +0100
     1.3 @@ -1,30 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="babl"
     1.7 -VERSION="0.1.24"
     1.8 +VERSION="0.1.72"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="pixel format translation library."
    1.11 +SHORT_DESC="Pixel format translation library."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="LGPL3"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://gegl.org/babl/"
    1.16 -WGET_URL="http://download.gimp.org/pub/$PACKAGE/${VERSION:0:3}/$TARBALL"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 +WGET_URL="http://download.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20 +
    1.21 +DEPENDS="gcc83-lib-base gobject-introspection lcms2"
    1.22 +BUILD_DEPENDS="gcc83 gobject-introspection-dev lcms2-dev meson ninja"
    1.23 +
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure \
    1.30 -		$CONFIGURE_ARGS && \
    1.31 -	make && make install
    1.32 +	export	CC=gcc-83
    1.33 +	export	CXX=g++-83
    1.34 +
    1.35 +	meson build --prefix=/usr
    1.36 +	cd	build
    1.37 +	ninja &&
    1.38 +	ninja install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/lib
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 -	cp -a $install/usr/lib/babl-* $fs/usr/lib
    1.47 -	rm $fs/usr/lib/babl-*/*.*a
    1.48 +
    1.49 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.50 +	cp -a $install/usr/lib/babl-*	$fs/usr/lib
    1.51 +#	rm $fs/usr/lib/babl-*/*.*a
    1.52  }
    1.53