wok-next view cocoalib/receipt @ rev 21051

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 30 01:34:53 2018 +0200 (2018-11-30)
parents d5aab818505e
children 3653337101e3
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cocoalib"
4 VERSION="0.99600"
5 CATEGORY="misc"
6 SHORT_DESC="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="http://cocoa.dima.unige.it/cocoalib/tgz/$TARBALL"
14 BUILD_DEPENDS="bash gmp-dev gsl-dev boost-dev boost-thread boost-system \
15 boost-filesystem boost-iostreams boost-math-tr1 readline-dev"
17 COPY_std="@dev"
18 DEPENDS_std="gmp gsl boost-thread boost-system boost-filesystem \
19 boost-iostreams boost-math-tr1 readline"
21 compile_rules() {
22 ./configure &&
23 make library || return 1
25 install -Dm644 lib/libcocoa.a $install/usr/lib/libcocoa.a
27 mkdir -p $install/usr/include
28 cp -r $src/include/* $install/usr/include
29 find $install -type f -name '*.H' -exec chmod 644 '{}' \;
30 }