wok-next view cocoalib/receipt @ rev 17759

hsetroot, wbar: link with libX11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:31:24 2015 +0100 (2015-03-10)
parents 8467c43ca437
children 2f3aba6cc31e
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 find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
22 xargs touch -d 197001010000
23 ./configure $CONFIGURE_ARGS && make library
24 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/include
31 cp -a $src/lib/libcocoa.a /$fs/usr/lib
32 cp -a $src/include/* $fs/usr/include
33 }