wok-next view cocoalib/receipt @ rev 14280

Add perl-filesys-statvfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 15:35:11 2013 +0200 (2013-04-06)
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 }