wok annotate cocoalib/receipt @ rev 22764
updated florence again (0.5.4 -> 0.6.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 17:42:38 2020 +0100 (2020-01-24) |
parents | 2dd26e7f0025 |
children | ad8b9ff412d2 |
rev | line source |
---|---|
al@13723 | 1 # SliTaz package receipt. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="cocoalib" |
Hans-G?nter@22604 | 4 VERSION="0.99650" |
al@13723 | 5 CATEGORY="misc" |
Hans-G?nter@22604 | 6 SHORT_DESC="C++ library for computations in commutative algebra" |
al@13723 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15058 | 8 LICENSE="GPL3" |
al@13723 | 9 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/" |
Hans-G?nter@22604 | 10 |
al@13723 | 11 TARBALL="CoCoALib-$VERSION.tgz" |
al@13723 | 12 WGET_URL="${WEB_SITE}tgz/$TARBALL" |
al@13723 | 13 |
Hans-G?nter@22604 | 14 DEPENDS="gcc83-lib-base gmp gsl libboost-filesystem libboost-iostreams |
Hans-G?nter@22604 | 15 libboost-system libboost-thread libboost-tr1" |
Hans-G?nter@22604 | 16 BUILD_DEPENDS="bash gcc83 gmp-dev gsl-dev libboost-filesystem-dev |
Hans-G?nter@22604 | 17 libboost-iostreams-dev libboost-system-dev libboost-thread-dev |
Hans-G?nter@22604 | 18 libboost-tr1-dev" |
al@13723 | 19 |
al@13723 | 20 # Rules to configure and make the package. |
al@13723 | 21 compile_rules() |
al@13723 | 22 { |
Hans-G?nter@22604 | 23 # find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \ |
Hans-G?nter@22604 | 24 # xargs touch -d 197001010000 |
Hans-G?nter@22604 | 25 |
Hans-G?nter@22604 | 26 export CC=gcc-83 # rejected as configure parameter |
Hans-G?nter@22604 | 27 export CXX=g++-83 |
Hans-G?nter@22604 | 28 |
Hans-G?nter@22604 | 29 ./configure && |
Hans-G?nter@22604 | 30 make library |
al@13723 | 31 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED |
al@13723 | 32 } |
al@13723 | 33 |
al@13723 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 35 genpkg_rules() |
al@13723 | 36 { |
Hans-G?nter@22604 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@22604 | 38 mkdir -p $fs/usr/include |
Hans-G?nter@22604 | 39 cp -a $src/lib/libcocoa.a /$fs/usr/lib |
Hans-G?nter@22604 | 40 cp -a $src/include/* $fs/usr/include |
al@13723 | 41 } |