wok-next annotate cocoalib/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a244e109372e |
children | e7e7475e84c9 |
rev | line source |
---|---|
al@20473 | 1 # SliTaz package receipt v2. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="cocoalib" |
al@13723 | 4 VERSION="0.9952" |
al@13723 | 5 CATEGORY="misc" |
al@21020 | 6 SHORT_DESC="GPL C++ library for doing 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/" |
al@20473 | 10 |
al@13723 | 11 TARBALL="CoCoALib-$VERSION.tgz" |
al@13723 | 12 WGET_URL="${WEB_SITE}tgz/$TARBALL" |
al@13723 | 13 |
al@20915 | 14 BUILD_DEPENDS="bash gmp-dev gsl-dev boost-dev boost-thread boost-system \ |
al@20915 | 15 boost-filesystem boost-iostreams boost-math-tr1" |
al@13723 | 16 |
al@20473 | 17 compile_rules() { |
pascal@15146 | 18 find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \ |
pascal@15146 | 19 xargs touch -d 197001010000 |
al@20473 | 20 ./configure $CONFIGURE_ARGS && make library || return 1 |
al@20473 | 21 |
al@13723 | 22 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED |
al@20473 | 23 mkdir -p $install/usr/lib $install/usr/include |
al@20473 | 24 cp -r $src/lib/libcocoa.a /$install/usr/lib |
al@20473 | 25 cp -r $src/include/* $install/usr/include |
al@13723 | 26 } |
al@13723 | 27 |
al@20473 | 28 genpkg_rules() { |
al@20473 | 29 copy @dev |
al@20915 | 30 DEPENDS="gmp gsl boost-thread boost-system boost-filesystem \ |
al@20915 | 31 boost-iostreams boost-math-tr1" |
al@13723 | 32 } |