[arch-commits] Commit in (cocoalib cocoalib/trunk cocoalib/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jun 4 13:23:24 UTC 2016
Date: Saturday, June 4, 2016 @ 15:23:23
Author: arojas
Revision: 177860
Add cocoalib (giac dependency)
Added:
cocoalib/
cocoalib/trunk/
cocoalib/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: cocoalib/trunk/PKGBUILD
===================================================================
--- cocoalib/trunk/PKGBUILD (rev 0)
+++ cocoalib/trunk/PKGBUILD 2016-06-04 13:23:23 UTC (rev 177860)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=cocoalib
+pkgver=0.99542
+pkgrel=1
+pkgdesc="A library for doing Computations in Commutative Algebra"
+arch=(i686 x86_64)
+url="http://cocoa.dima.unige.it/"
+license=(GPL)
+depends=()
+makedepends=(boost cddlib normaliz frobby gsl)
+source=(http://cocoa.dima.unige.it/cocoalib/tgz/CoCoALib-$pkgver.tgz)
+md5sums=('19be2e8a20b1cc274dbfd69be7807a95')
+
+prepare() {
+ cd CoCoALib-$pkgver
+}
+
+build() {
+ cd CoCoALib-$pkgver
+
+ ./configure \
+ --with-readline=/usr/lib/libreadline.so \
+ --with-libcddgmp=/usr/lib/libcddgmp.so \
+ --with-libfrobby=/usr/lib/libfrobby.so \
+ --with-libnormaliz=/usr/lib/libnormaliz.so \
+ --with-libgsl=/usr/lib/libgsl.so
+ make lib
+}
+
+package() {
+ cd CoCoALib-$pkgver
+
+ mkdir -p "$pkgdir"/usr/lib
+ install -m644 lib/libcocoa.a "$pkgdir"/usr/lib
+}
+
Property changes on: cocoalib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list