wok-current rev 22604

updated cocoalib (0.9952 -> 0.99650)
author Hans-G?nter Theisgen
date Thu Jan 09 14:33:11 2020 +0100 (2020-01-09)
parents dac69754212f
children 8e1bb04468e8
files cocoalib/receipt
line diff
     1.1 --- a/cocoalib/receipt	Thu Jan 09 08:10:35 2020 +0100
     1.2 +++ b/cocoalib/receipt	Thu Jan 09 14:33:11 2020 +0100
     1.3 @@ -1,33 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cocoalib"
     1.7 -VERSION="0.9952"
     1.8 +VERSION="0.99650"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in Commutative Algebra"
    1.11 +SHORT_DESC="C++ library for computations in commutative algebra"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="http://cocoa.dima.unige.it/cocoalib/"
    1.15 +
    1.16  TARBALL="CoCoALib-$VERSION.tgz"
    1.17  WGET_URL="${WEB_SITE}tgz/$TARBALL"
    1.18  
    1.19 -DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
    1.20 -libboost-iostreams libboost-tr1"
    1.21 -BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-thread-dev libboost-system-dev \
    1.22 -libboost-filesystem-dev libboost-iostreams-dev libboost-tr1-dev"
    1.23 +DEPENDS="gcc83-lib-base gmp gsl libboost-filesystem libboost-iostreams 
    1.24 +	libboost-system libboost-thread libboost-tr1"
    1.25 +BUILD_DEPENDS="bash gcc83 gmp-dev gsl-dev libboost-filesystem-dev 
    1.26 +	libboost-iostreams-dev libboost-system-dev libboost-thread-dev 
    1.27 +	libboost-tr1-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
    1.33 -		xargs touch -d 197001010000
    1.34 -	./configure $CONFIGURE_ARGS && make library
    1.35 +#	find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
    1.36 +#		xargs touch -d 197001010000
    1.37 +
    1.38 +	export	CC=gcc-83	# rejected as configure parameter
    1.39 +	export	CXX=g++-83
    1.40 +
    1.41 +	./configure &&
    1.42 +	make library
    1.43  	# INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.50 -	cp -a $src/lib/libcocoa.a /$fs/usr/lib
    1.51 -	cp -a $src/include/* $fs/usr/include
    1.52 +	mkdir -p $fs/usr/lib
    1.53 +	mkdir -p $fs/usr/include
    1.54 +	cp -a $src/lib/libcocoa.a	/$fs/usr/lib
    1.55 +	cp -a $src/include/*		$fs/usr/include
    1.56  }