wok-current rev 21704

updated proj and proj-dev (4.7.0 -> 6.1.0)
author Hans-G?nter Theisgen
date Thu Jun 06 17:27:47 2019 +0100 (2019-06-06)
parents 395ad616796a
children cb3f10eaf9f6
files proj-dev/receipt proj/receipt
line diff
     1.1 --- a/proj-dev/receipt	Thu Jun 06 16:27:45 2019 +0100
     1.2 +++ b/proj-dev/receipt	Thu Jun 06 17:27:47 2019 +0100
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="proj-dev"
     1.7 -VERSION="4.7.0"
     1.8 +VERSION="6.1.0"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="Proj dev files."
    1.11 +SHORT_DESC="Proj - development files."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -WEB_SITE="http://trac.osgeo.org/proj/"
    1.15 -WANTED="proj"
    1.16 +WEB_SITE="https://proj.org/"
    1.17  
    1.18  DEPENDS="proj"
    1.19  BUILD_DEPENDS=""
    1.20 +WANTED="proj"
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	mkdir -p $fs/usr/lib 
    1.26  	
    1.27 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.28 -	cp -a $install/usr/include $fs/usr
    1.29 +	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.30 +	cp -a $install/usr/include	$fs/usr
    1.31  }
     2.1 --- a/proj/receipt	Thu Jun 06 16:27:45 2019 +0100
     2.2 +++ b/proj/receipt	Thu Jun 06 17:27:47 2019 +0100
     2.3 @@ -1,32 +1,39 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="proj"
     2.7 -VERSION="4.7.0"
     2.8 +VERSION="6.1.0"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Cartographic Projections Library."
    2.11  MAINTAINER="erjo@slitaz.org"
    2.12  LICENSE="MIT"
    2.13 -WEB_SITE="http://trac.osgeo.org/proj/"
    2.14 +WEB_SITE="https://proj.org/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17  WGET_URL="http://download.osgeo.org/proj/$TARBALL"
    2.18  
    2.19 -DEPENDS=""
    2.20 -BUILD_DEPENDS=""
    2.21 +DEPENDS="gcc83-lib-base sqlite"
    2.22 +BUILD_DEPENDS="gcc83 libtool sqlite-dev"
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27  	mkdir -p $DESTDIR/usr/bin
    2.28 -	./configure $CONFIGURE_ARGS && make && make install
    2.29 +
    2.30 +	export	CC=gcc-83
    2.31 +	export	CXX=g++-83
    2.32 +
    2.33 +	./configure $CONFIGURE_ARGS &&
    2.34 +	make &&
    2.35 +	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 $fs/usr/share
    2.42 +	mkdir -p $fs/usr/lib
    2.43 +	mkdir -p $fs/usr/share
    2.44  	
    2.45 -	cp -a $install/usr/bin $fs/usr
    2.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.47 -	cp -a $install/usr/share/proj $fs/usr/share
    2.48 -	
    2.49 +	cp -a $install/usr/bin		$fs/usr
    2.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.51 +	cp -a $install/usr/share/proj	$fs/usr/share
    2.52  }