[arch-commits] Commit in coin-or-coinutils/repos (8 files)

Antonio Rojas arojas at archlinux.org
Sun Feb 8 22:12:25 UTC 2015


    Date: Sunday, February 8, 2015 @ 23:12:24
  Author: arojas
Revision: 127315

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  coin-or-coinutils/repos/community-staging-i686/
  coin-or-coinutils/repos/community-staging-i686/CoinRational.patch
    (from rev 127314, coin-or-coinutils/trunk/CoinRational.patch)
  coin-or-coinutils/repos/community-staging-i686/CoinRational2.patch
    (from rev 127314, coin-or-coinutils/trunk/CoinRational2.patch)
  coin-or-coinutils/repos/community-staging-i686/PKGBUILD
    (from rev 127314, coin-or-coinutils/trunk/PKGBUILD)
  coin-or-coinutils/repos/community-staging-x86_64/
  coin-or-coinutils/repos/community-staging-x86_64/CoinRational.patch
    (from rev 127314, coin-or-coinutils/trunk/CoinRational.patch)
  coin-or-coinutils/repos/community-staging-x86_64/CoinRational2.patch
    (from rev 127314, coin-or-coinutils/trunk/CoinRational2.patch)
  coin-or-coinutils/repos/community-staging-x86_64/PKGBUILD
    (from rev 127314, coin-or-coinutils/trunk/PKGBUILD)

----------------------------------------------+
 community-staging-i686/CoinRational.patch    |   10 +++++
 community-staging-i686/CoinRational2.patch   |   10 +++++
 community-staging-i686/PKGBUILD              |   45 +++++++++++++++++++++++++
 community-staging-x86_64/CoinRational.patch  |   10 +++++
 community-staging-x86_64/CoinRational2.patch |   10 +++++
 community-staging-x86_64/PKGBUILD            |   45 +++++++++++++++++++++++++
 6 files changed, 130 insertions(+)

Copied: coin-or-coinutils/repos/community-staging-i686/CoinRational.patch (from rev 127314, coin-or-coinutils/trunk/CoinRational.patch)
===================================================================
--- community-staging-i686/CoinRational.patch	                        (rev 0)
+++ community-staging-i686/CoinRational.patch	2015-02-08 22:12:24 UTC (rev 127315)
@@ -0,0 +1,10 @@
+--- CoinUtils/src/Makefile.am.orig	2015-01-20 00:44:08.982573893 +0100
++++ CoinUtils/src/Makefile.am	2015-01-20 00:44:38.656137230 +0100
+@@ -161,6 +161,7 @@
+ 	CoinPresolveTripleton.hpp \
+ 	CoinPresolveUseless.hpp \
+ 	CoinPresolveZeros.hpp \
++	CoinRational.hpp \
+ 	CoinSearchTree.hpp \
+ 	CoinShallowPackedVector.hpp \
+ 	CoinSignal.hpp \

Copied: coin-or-coinutils/repos/community-staging-i686/CoinRational2.patch (from rev 127314, coin-or-coinutils/trunk/CoinRational2.patch)
===================================================================
--- community-staging-i686/CoinRational2.patch	                        (rev 0)
+++ community-staging-i686/CoinRational2.patch	2015-02-08 22:12:24 UTC (rev 127315)
@@ -0,0 +1,10 @@
+--- CoinUtils/src/Makefile.in.orig	2015-01-20 00:55:48.206963412 +0100
++++ CoinUtils/src/Makefile.in	2015-01-20 00:56:30.617185620 +0100
+@@ -481,6 +481,7 @@
+ 	CoinPresolveTripleton.hpp \
+ 	CoinPresolveUseless.hpp \
+ 	CoinPresolveZeros.hpp \
++	CoinRational.hpp \
+ 	CoinSearchTree.hpp \
+ 	CoinShallowPackedVector.hpp \
+ 	CoinSignal.hpp \

Copied: coin-or-coinutils/repos/community-staging-i686/PKGBUILD (from rev 127314, coin-or-coinutils/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-02-08 22:12:24 UTC (rev 127315)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: tikysal <tikysal at gmail.com>
+# Derived from Daniel Ehlers'
+
+pkgname=coin-or-coinutils
+pkgver=2.10.2
+pkgrel=1
+pkgdesc="COIN-OR collection of utility classes"
+arch=('i686' 'x86_64')
+url="https://projects.coin-or.org/CoinUtils"
+license=('EPL')
+depends=('zlib' 'bzip2' 'glpk' 'lapack')
+makedepends=('gcc-fortran')
+groups=('coin-or')
+source=("http://www.coin-or.org/download/source/CoinUtils/CoinUtils-${pkgver}.tgz" 'CoinRational.patch' 'CoinRational2.patch')
+sha1sums=('bba1f30169dae236f44b94a573956ce7bf3e2ce0'
+          'a8900004098d7705b082ac89591d9c45e259dd33'
+          'ef5ee274c75893d0f0b69cdf376996154b03780e')
+
+prepare() {
+  cd CoinUtils-$pkgver
+
+# install missing header
+  patch -p0 -i "$srcdir"/CoinRational.patch
+  patch -p0 -i "$srcdir"/CoinRational2.patch
+}
+
+build() {
+  cd CoinUtils-$pkgver
+
+  ./configure --prefix=/usr --with-blas-lib='-lblas' --with-lapack-lib='-llapack' --with-glpk-lib='-lglpk' --enable-dependency-linking
+  make
+}
+
+check() {
+  cd CoinUtils-$pkgver
+  make test
+}
+
+package() {
+  cd CoinUtils-$pkgver
+  PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \
+  make DESTDIR="$pkgdir" install
+}

Copied: coin-or-coinutils/repos/community-staging-x86_64/CoinRational.patch (from rev 127314, coin-or-coinutils/trunk/CoinRational.patch)
===================================================================
--- community-staging-x86_64/CoinRational.patch	                        (rev 0)
+++ community-staging-x86_64/CoinRational.patch	2015-02-08 22:12:24 UTC (rev 127315)
@@ -0,0 +1,10 @@
+--- CoinUtils/src/Makefile.am.orig	2015-01-20 00:44:08.982573893 +0100
++++ CoinUtils/src/Makefile.am	2015-01-20 00:44:38.656137230 +0100
+@@ -161,6 +161,7 @@
+ 	CoinPresolveTripleton.hpp \
+ 	CoinPresolveUseless.hpp \
+ 	CoinPresolveZeros.hpp \
++	CoinRational.hpp \
+ 	CoinSearchTree.hpp \
+ 	CoinShallowPackedVector.hpp \
+ 	CoinSignal.hpp \

Copied: coin-or-coinutils/repos/community-staging-x86_64/CoinRational2.patch (from rev 127314, coin-or-coinutils/trunk/CoinRational2.patch)
===================================================================
--- community-staging-x86_64/CoinRational2.patch	                        (rev 0)
+++ community-staging-x86_64/CoinRational2.patch	2015-02-08 22:12:24 UTC (rev 127315)
@@ -0,0 +1,10 @@
+--- CoinUtils/src/Makefile.in.orig	2015-01-20 00:55:48.206963412 +0100
++++ CoinUtils/src/Makefile.in	2015-01-20 00:56:30.617185620 +0100
+@@ -481,6 +481,7 @@
+ 	CoinPresolveTripleton.hpp \
+ 	CoinPresolveUseless.hpp \
+ 	CoinPresolveZeros.hpp \
++	CoinRational.hpp \
+ 	CoinSearchTree.hpp \
+ 	CoinShallowPackedVector.hpp \
+ 	CoinSignal.hpp \

Copied: coin-or-coinutils/repos/community-staging-x86_64/PKGBUILD (from rev 127314, coin-or-coinutils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-02-08 22:12:24 UTC (rev 127315)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: tikysal <tikysal at gmail.com>
+# Derived from Daniel Ehlers'
+
+pkgname=coin-or-coinutils
+pkgver=2.10.2
+pkgrel=1
+pkgdesc="COIN-OR collection of utility classes"
+arch=('i686' 'x86_64')
+url="https://projects.coin-or.org/CoinUtils"
+license=('EPL')
+depends=('zlib' 'bzip2' 'glpk' 'lapack')
+makedepends=('gcc-fortran')
+groups=('coin-or')
+source=("http://www.coin-or.org/download/source/CoinUtils/CoinUtils-${pkgver}.tgz" 'CoinRational.patch' 'CoinRational2.patch')
+sha1sums=('bba1f30169dae236f44b94a573956ce7bf3e2ce0'
+          'a8900004098d7705b082ac89591d9c45e259dd33'
+          'ef5ee274c75893d0f0b69cdf376996154b03780e')
+
+prepare() {
+  cd CoinUtils-$pkgver
+
+# install missing header
+  patch -p0 -i "$srcdir"/CoinRational.patch
+  patch -p0 -i "$srcdir"/CoinRational2.patch
+}
+
+build() {
+  cd CoinUtils-$pkgver
+
+  ./configure --prefix=/usr --with-blas-lib='-lblas' --with-lapack-lib='-llapack' --with-glpk-lib='-lglpk' --enable-dependency-linking
+  make
+}
+
+check() {
+  cd CoinUtils-$pkgver
+  make test
+}
+
+package() {
+  cd CoinUtils-$pkgver
+  PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list