wok-next diff babl/receipt @ rev 19791

linux-libre: use gcc3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 23 09:57:52 2017 +0200 (2017-06-23)
parents c1cdacb7defd
children c4e53a39395a
line diff
     1.1 --- a/babl/receipt	Sun May 04 04:28:55 2014 +0200
     1.2 +++ b/babl/receipt	Fri Jun 23 09:57:52 2017 +0200
     1.3 @@ -1,30 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="babl"
     1.8 -VERSION="0.1.10"
     1.9 +VERSION="0.1.26"
    1.10  CATEGORY="system-tools"
    1.11 -SHORT_DESC="pixel format translation library."
    1.12 +SHORT_DESC="Pixel format translation library"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="LGPL3"
    1.15 +WEB_SITE="http://gegl.org/babl/"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WEB_SITE="http://gegl.org/babl/"
    1.20 -WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION:0:3}/$TARBALL"
    1.21 -HOST_ARCH="i486 arm"
    1.22 +WGET_URL="https://download.gimp.org/pub/babl/${VERSION%.*}/$TARBALL"
    1.23 +
    1.24 +SPLIT="babl-dev"
    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 +		$CONFIGURE_ARGS &&
    1.32  	make && make install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr/lib
    1.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.40 -	cp -a $install/usr/lib/babl-* $fs/usr/lib
    1.41 -	rm $fs/usr/lib/babl-*/*.*a
    1.42 +	case $PACKAGE in
    1.43 +		babl) copy @std ;;
    1.44 +		babl-dev) copy @dev ;;
    1.45 +	esac
    1.46  }
    1.47 -