wok view cocoalib/receipt @ rev 22604
updated cocoalib (0.9952 -> 0.99650)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 09 14:33:11 2020 +0100 (2020-01-09) |
parents | 2dd26e7f0025 |
children | ad8b9ff412d2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cocoalib"
4 VERSION="0.99650"
5 CATEGORY="misc"
6 SHORT_DESC="C++ library for 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 DEPENDS="gcc83-lib-base gmp gsl libboost-filesystem libboost-iostreams
15 libboost-system libboost-thread libboost-tr1"
16 BUILD_DEPENDS="bash gcc83 gmp-dev gsl-dev libboost-filesystem-dev
17 libboost-iostreams-dev libboost-system-dev libboost-thread-dev
18 libboost-tr1-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
24 # xargs touch -d 197001010000
26 export CC=gcc-83 # rejected as configure parameter
27 export CXX=g++-83
29 ./configure &&
30 make library
31 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 mkdir -p $fs/usr/include
39 cp -a $src/lib/libcocoa.a /$fs/usr/lib
40 cp -a $src/include/* $fs/usr/include
41 }