[arch-commits] Commit in coin-or-cbc/repos (4 files)

Antonio Rojas arojas at archlinux.org
Sun Feb 8 22:59:04 UTC 2015


    Date: Sunday, February 8, 2015 @ 23:59:03
  Author: arojas
Revision: 127323

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

Added:
  coin-or-cbc/repos/community-staging-i686/
  coin-or-cbc/repos/community-staging-i686/PKGBUILD
    (from rev 127322, coin-or-cbc/trunk/PKGBUILD)
  coin-or-cbc/repos/community-staging-x86_64/
  coin-or-cbc/repos/community-staging-x86_64/PKGBUILD
    (from rev 127322, coin-or-cbc/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: coin-or-cbc/repos/community-staging-i686/PKGBUILD (from rev 127322, coin-or-cbc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-02-08 22:59:03 UTC (rev 127323)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-cbc
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="COIN-OR branch-and-cut mixed integer programming solver"
+arch=('i686' 'x86_64')
+url="https://projects.coin-or.org/Cbc"
+license=('EPL')
+groups=('coin-or')
+depends=('coin-or-cgl')
+source=("http://www.coin-or.org/download/source/Cbc/Cbc-${pkgver}.tgz")
+sha1sums=('337f1ef086d88d4fd17c1895778e22a3729ae29f')
+
+build() {
+  cd Cbc-$pkgver/Cbc
+  COIN_SKIP_PROJECTS="Sample" \
+  ./configure --prefix=/usr \
+              --with-osi-lib="$(pkg-config --libs osi)" \
+              --with-osi-incdir="/usr/include/coin/" \
+              --with-clp-lib="$(pkg-config --libs clp)" \
+              --with-clp-incdir="/usr/include/coin/" \
+              --with-cgl-lib="$(pkg-config --libs cgl)" \
+              --with-cgl-incdir="/usr/include/coin/" \
+              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/" \
+              --enable-dependency-linking \
+              --enable-cbc-parallel
+  make
+}
+
+check() {
+  cd Cbc-$pkgver/Cbc
+  make test
+}
+
+package() {
+  cd Cbc-$pkgver/Cbc
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+}

Copied: coin-or-cbc/repos/community-staging-x86_64/PKGBUILD (from rev 127322, coin-or-cbc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-02-08 22:59:03 UTC (rev 127323)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-cbc
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="COIN-OR branch-and-cut mixed integer programming solver"
+arch=('i686' 'x86_64')
+url="https://projects.coin-or.org/Cbc"
+license=('EPL')
+groups=('coin-or')
+depends=('coin-or-cgl')
+source=("http://www.coin-or.org/download/source/Cbc/Cbc-${pkgver}.tgz")
+sha1sums=('337f1ef086d88d4fd17c1895778e22a3729ae29f')
+
+build() {
+  cd Cbc-$pkgver/Cbc
+  COIN_SKIP_PROJECTS="Sample" \
+  ./configure --prefix=/usr \
+              --with-osi-lib="$(pkg-config --libs osi)" \
+              --with-osi-incdir="/usr/include/coin/" \
+              --with-clp-lib="$(pkg-config --libs clp)" \
+              --with-clp-incdir="/usr/include/coin/" \
+              --with-cgl-lib="$(pkg-config --libs cgl)" \
+              --with-cgl-incdir="/usr/include/coin/" \
+              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/" \
+              --enable-dependency-linking \
+              --enable-cbc-parallel
+  make
+}
+
+check() {
+  cd Cbc-$pkgver/Cbc
+  make test
+}
+
+package() {
+  cd Cbc-$pkgver/Cbc
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list