wok annotate cocoalib/receipt @ rev 15058

cocoalib: create Makefile_dependencies
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:39:24 2013 +0000 (2013-08-13)
parents 4e805e1b2e7b
children 2dd26e7f0025
rev   line source
al@13723 1 # SliTaz package receipt.
al@13723 2
al@13723 3 PACKAGE="cocoalib"
al@13723 4 VERSION="0.9952"
al@13723 5 CATEGORY="misc"
al@13723 6 SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in Commutative Algebra"
al@13723 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15058 8 LICENSE="GPL3"
al@13723 9 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/"
al@13723 10 TARBALL="CoCoALib-$VERSION.tgz"
al@13723 11 WGET_URL="${WEB_SITE}tgz/$TARBALL"
al@13723 12
al@13723 13 DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
al@13723 14 libboost-iostreams libboost-tr1"
al@13723 15 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-thread-dev libboost-system-dev \
al@13723 16 libboost-filesystem-dev libboost-iostreams-dev libboost-tr1-dev"
al@13723 17
al@13723 18 # Rules to configure and make the package.
al@13723 19 compile_rules()
al@13723 20 {
pascal@15058 21 touch -d 197001010000 src/CoCoA*/Makefile_dependencies
al@13723 22 ./configure $CONFIGURE_ARGS && make library
al@13723 23 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
al@13723 24 }
al@13723 25
al@13723 26 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 27 genpkg_rules()
al@13723 28 {
al@13723 29 mkdir -p $fs/usr/lib $fs/usr/include
al@13723 30 cp -a $src/lib/libcocoa.a /$fs/usr/lib
al@13723 31 cp -a $src/include/* $fs/usr/include
al@13723 32 }