wok-current view cocoalib/receipt @ rev 14590

drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 00:27:59 2013 +0000 (2013-05-27)
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 }