wok-6.x view cocoalib/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (24 months ago) |
parents | fff755dd0f58 |
children |
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="https://web.archive.org/web/20220622092428/https://cocoa.dima.unige.it/cocoa/cocoalib/"
11 TARBALL="CoCoALib-$VERSION.tgz"
12 WGET_URL="https://web.archive.org/web/20220621195548if_/https://cocoa.dima.unige.it/cocoa/cocoalib/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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed "/latest/d;/CoCoALib-[0-9]/!d;/tgz/!d;s|.*CoCoALib-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
31 # xargs touch -d 197001010000
33 export CC=gcc-83 # rejected as configure parameter
34 export CXX=g++-83
36 ./configure &&
37 make library
38 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 mkdir -p $fs/usr/include
46 cp -a $src/lib/libcocoa.a /$fs/usr/lib
47 cp -a $src/include/* $fs/usr/include
48 }