wok-next view cocoalib/receipt @ rev 20006
nginx-extras: update bdeps, vte-dev: add vte.pc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 15:15:14 2017 +0200 (2017-10-21) |
parents | 2dd26e7f0025 |
children | e1c0edabdcb2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cocoalib"
4 VERSION="0.9952"
5 CATEGORY="misc"
6 SHORT_DESC="CoCoALib is a 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/"
10 TARBALL="CoCoALib-$VERSION.tgz"
11 WGET_URL="${WEB_SITE}tgz/$TARBALL"
13 DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
14 libboost-iostreams libboost-math-tr1"
15 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-dev libboost-thread libboost-system \
16 libboost-filesystem libboost-iostreams libboost-math-tr1"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
22 xargs touch -d 197001010000
23 ./configure $CONFIGURE_ARGS && make library
24 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/include
31 cp -a $src/lib/libcocoa.a /$fs/usr/lib
32 cp -a $src/include/* $fs/usr/include
33 }