wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cocoalib"
4 VERSION="0.9952"
5 CATEGORY="misc"
6 SHORT_DESC="GPL C++ library for doing Computations in Commutative Algebra"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/"
11 TARBALL="CoCoALib-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}tgz/$TARBALL"
14 BUILD_DEPENDS="bash gmp-dev gsl-dev boost-dev boost-thread boost-system \
15 boost-filesystem boost-iostreams boost-math-tr1"
17 compile_rules() {
18 find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
19 xargs touch -d 197001010000
20 ./configure $CONFIGURE_ARGS && make library || return 1
22 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
23 mkdir -p $install/usr/lib $install/usr/include
24 cp -r $src/lib/libcocoa.a /$install/usr/lib
25 cp -r $src/include/* $install/usr/include
26 }
28 genpkg_rules() {
29 copy @dev
30 DEPENDS="gmp gsl boost-thread boost-system boost-filesystem \
31 boost-iostreams boost-math-tr1"
32 }