wok-next view cocoalib/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 2f3aba6cc31e |
children | a244e109372e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cocoalib"
4 VERSION="0.9952"
5 CATEGORY="misc"
6 SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in \
7 Commutative Algebra"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="http://cocoa.dima.unige.it/cocoalib/"
12 TARBALL="CoCoALib-$VERSION.tgz"
13 WGET_URL="${WEB_SITE}tgz/$TARBALL"
15 BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-dev libboost-thread libboost-system \
16 libboost-filesystem libboost-iostreams libboost-math-tr1"
18 compile_rules() {
19 find | grep Makefile | sed 's/Makefile.*/Makefile_dependencies/' | \
20 xargs touch -d 197001010000
21 ./configure $CONFIGURE_ARGS && make library || return 1
23 # INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
24 mkdir -p $install/usr/lib $install/usr/include
25 cp -r $src/lib/libcocoa.a /$install/usr/lib
26 cp -r $src/include/* $install/usr/include
27 }
29 genpkg_rules() {
30 copy @dev
31 DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
32 libboost-iostreams libboost-math-tr1"
33 }