wok-next diff cocoalib/receipt @ rev 20811
blazekiss: up (20170630); add icons
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 13 16:49:32 2018 +0300 (2018-06-13) |
parents | 2f3aba6cc31e |
children | a244e109372e |
line diff
1.1 --- a/cocoalib/receipt Mon Jun 12 11:39:09 2017 +0300 1.2 +++ b/cocoalib/receipt Wed Jun 13 16:49:32 2018 +0300 1.3 @@ -1,33 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cocoalib" 1.8 VERSION="0.9952" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in Commutative Algebra" 1.11 +SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in \ 1.12 +Commutative Algebra" 1.13 MAINTAINER="al.bobylev@gmail.com" 1.14 LICENSE="GPL3" 1.15 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/" 1.16 + 1.17 TARBALL="CoCoALib-$VERSION.tgz" 1.18 WGET_URL="${WEB_SITE}tgz/$TARBALL" 1.19 1.20 -DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \ 1.21 -libboost-iostreams libboost-math-tr1" 1.22 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-dev libboost-thread libboost-system \ 1.23 libboost-filesystem libboost-iostreams libboost-math-tr1" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 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 1.32 + ./configure $CONFIGURE_ARGS && make library || return 1 1.33 + 1.34 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED 1.35 + mkdir -p $install/usr/lib $install/usr/include 1.36 + cp -r $src/lib/libcocoa.a /$install/usr/lib 1.37 + cp -r $src/include/* $install/usr/include 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/lib $fs/usr/include 1.44 - cp -a $src/lib/libcocoa.a /$fs/usr/lib 1.45 - cp -a $src/include/* $fs/usr/include 1.46 +genpkg_rules() { 1.47 + copy @dev 1.48 + DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \ 1.49 + libboost-iostreams libboost-math-tr1" 1.50 }