wok view cocoalib/receipt @ rev 14000

Up: emacs-pkg-lua-mode (20111107)
author Dominique Corbex <domcox@slitaz.org>
date Thu Feb 14 13:36:00 2013 +0100 (2013-02-14)
parents
children 8467c43ca437
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 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/"
9 TARBALL="CoCoALib-$VERSION.tgz"
10 WGET_URL="${WEB_SITE}tgz/$TARBALL"
12 DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
13 libboost-iostreams libboost-tr1"
14 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-thread-dev libboost-system-dev \
15 libboost-filesystem-dev libboost-iostreams-dev libboost-tr1-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make library
21 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/include
28 cp -a $src/lib/libcocoa.a /$fs/usr/lib
29 cp -a $src/include/* $fs/usr/include
30 }