wok-current view cocoalib/receipt @ rev 15101
xorg-xedit: no more /usr/share/X11 ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 12:49:38 2013 +0000 (2013-08-14) |
parents | 4e805e1b2e7b |
children | 2dd26e7f0025 |
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-tr1"
15 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-thread-dev libboost-system-dev \
16 libboost-filesystem-dev libboost-iostreams-dev libboost-tr1-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 touch -d 197001010000 src/CoCoA*/Makefile_dependencies
22 ./configure $CONFIGURE_ARGS && make library
23 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/include
30 cp -a $src/lib/libcocoa.a /$fs/usr/lib
31 cp -a $src/include/* $fs/usr/include
32 }