wok annotate cocoalib/receipt @ rev 20994
updated gptfdisk (1.0.3 -> 1.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 07 17:31:34 2019 +0100 (2019-03-07) |
parents | 8467c43ca437 |
children | 0e6c15b6b327 |
rev | line source |
---|---|
al@13723 | 1 # SliTaz package receipt. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="cocoalib" |
al@13723 | 4 VERSION="0.9952" |
al@13723 | 5 CATEGORY="misc" |
al@13723 | 6 SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in Commutative Algebra" |
al@13723 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15058 | 8 LICENSE="GPL3" |
al@13723 | 9 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/" |
al@13723 | 10 TARBALL="CoCoALib-$VERSION.tgz" |
al@13723 | 11 WGET_URL="${WEB_SITE}tgz/$TARBALL" |
al@13723 | 12 |
al@13723 | 13 DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \ |
al@13723 | 14 libboost-iostreams libboost-tr1" |
al@13723 | 15 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-thread-dev libboost-system-dev \ |
al@13723 | 16 libboost-filesystem-dev libboost-iostreams-dev libboost-tr1-dev" |
al@13723 | 17 |
al@13723 | 18 # Rules to configure and make the package. |
al@13723 | 19 compile_rules() |
al@13723 | 20 { |
pascal@15146 | 21 find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \ |
pascal@15146 | 22 xargs touch -d 197001010000 |
al@13723 | 23 ./configure $CONFIGURE_ARGS && make library |
al@13723 | 24 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED |
al@13723 | 25 } |
al@13723 | 26 |
al@13723 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 28 genpkg_rules() |
al@13723 | 29 { |
al@13723 | 30 mkdir -p $fs/usr/lib $fs/usr/include |
al@13723 | 31 cp -a $src/lib/libcocoa.a /$fs/usr/lib |
al@13723 | 32 cp -a $src/include/* $fs/usr/include |
al@13723 | 33 } |