wok-next annotate cocoalib/receipt @ rev 14210
Up: firefox (17.0.4esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Mar 16 21:28:06 2013 +0100 (2013-03-16) |
parents | |
children | 8467c43ca437 |
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" |
al@13723 | 8 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/" |
al@13723 | 9 TARBALL="CoCoALib-$VERSION.tgz" |
al@13723 | 10 WGET_URL="${WEB_SITE}tgz/$TARBALL" |
al@13723 | 11 |
al@13723 | 12 DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \ |
al@13723 | 13 libboost-iostreams libboost-tr1" |
al@13723 | 14 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-thread-dev libboost-system-dev \ |
al@13723 | 15 libboost-filesystem-dev libboost-iostreams-dev libboost-tr1-dev" |
al@13723 | 16 |
al@13723 | 17 # Rules to configure and make the package. |
al@13723 | 18 compile_rules() |
al@13723 | 19 { |
al@13723 | 20 ./configure $CONFIGURE_ARGS && make library |
al@13723 | 21 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED |
al@13723 | 22 } |
al@13723 | 23 |
al@13723 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 25 genpkg_rules() |
al@13723 | 26 { |
al@13723 | 27 mkdir -p $fs/usr/lib $fs/usr/include |
al@13723 | 28 cp -a $src/lib/libcocoa.a /$fs/usr/lib |
al@13723 | 29 cp -a $src/include/* $fs/usr/include |
al@13723 | 30 } |