[arch-commits] Commit in (coin-or-clp coin-or-clp/trunk coin-or-clp/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Jan 18 12:02:32 UTC 2015


    Date: Sunday, January 18, 2015 @ 13:02:32
  Author: arojas
Revision: 126082

Adding coin-or stack (Sage optional dependency)

Added:
  coin-or-clp/
  coin-or-clp/trunk/
  coin-or-clp/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Added: coin-or-clp/trunk/PKGBUILD
===================================================================
--- coin-or-clp/trunk/PKGBUILD	                        (rev 0)
+++ coin-or-clp/trunk/PKGBUILD	2015-01-18 12:02:32 UTC (rev 126082)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-clp
+pkgver=1.15.11
+pkgrel=1
+pkgdesc="COIN-OR linear programming solver"
+arch=('i686' 'x86_64')
+url="https://projects.coin-or.org/Clp"
+license=('EPL')
+groups=('coin-or')
+depends=('coin-or-osi' 'zlib' 'bzip2' 'lapack')
+source=("http://www.coin-or.org/download/source/Clp/Clp-${pkgver}.tgz")
+sha1sums=('16f8d889a3f37917b2d2c40371dfc6af1e590efd')
+
+build() {
+  cd Clp-$pkgver
+  COIN_SKIP_PROJECTS="Sample" \
+  ./configure --prefix=/usr \
+              --with-osi-lib="$(pkg-config --libs osi)" \
+              --with-osi-incdir="/usr/include/coin/" \
+              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/" -C
+  make
+}
+
+check() {
+  cd Clp-$pkgver
+  make test
+}
+
+package() {
+  cd Clp-$pkgver
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+}


Property changes on: coin-or-clp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list