wok-next diff cocoalib/receipt @ rev 21420

updated puzzles ( -> 20200413)
author Hans-G?nter Theisgen
date Mon Apr 27 17:23:45 2020 +0100 (2020-04-27)
parents d5aab818505e
children 3653337101e3
line diff
     1.1 --- a/cocoalib/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/cocoalib/receipt	Mon Apr 27 17:23:45 2020 +0100
     1.3 @@ -1,32 +1,30 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cocoalib"
     1.7 -VERSION="0.9952"
     1.8 +VERSION="0.99600"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="GPL C++ library for doing Computations in Commutative Algebra"
    1.11 +SHORT_DESC="C++ library for doing 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 +WGET_URL="http://cocoa.dima.unige.it/cocoalib/tgz/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="bash gmp-dev gsl-dev boost-dev boost-thread boost-system \
    1.21 -boost-filesystem boost-iostreams boost-math-tr1"
    1.22 +boost-filesystem boost-iostreams boost-math-tr1 readline-dev"
    1.23 +
    1.24 +COPY_std="@dev"
    1.25 +DEPENDS_std="gmp gsl boost-thread boost-system boost-filesystem \
    1.26 +boost-iostreams boost-math-tr1 readline"
    1.27  
    1.28  compile_rules() {
    1.29 -	find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
    1.30 -		xargs touch -d 197001010000
    1.31 -	./configure $CONFIGURE_ARGS && make library || return 1
    1.32 +	./configure &&
    1.33 +	make library || return 1
    1.34  
    1.35 -	# INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
    1.36 -	mkdir -p $install/usr/lib $install/usr/include
    1.37 -	cp -r $src/lib/libcocoa.a /$install/usr/lib
    1.38 +	install -Dm644 lib/libcocoa.a $install/usr/lib/libcocoa.a
    1.39 +
    1.40 +	mkdir -p $install/usr/include
    1.41  	cp -r $src/include/* $install/usr/include
    1.42 +	find $install -type f -name '*.H' -exec chmod 644 '{}' \;
    1.43  }
    1.44 -
    1.45 -genpkg_rules() {
    1.46 -	copy @dev
    1.47 -	DEPENDS="gmp gsl boost-thread boost-system boost-filesystem \
    1.48 -	boost-iostreams boost-math-tr1"
    1.49 -}