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

Allan McRae allan at archlinux.org
Sun Dec 6 04:55:27 UTC 2015


    Date: Sunday, December 6, 2015 @ 05:55:27
  Author: allan
Revision: 148827

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

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

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

Copied: coin-or-mp/repos/community-staging-i686/PKGBUILD (from rev 148826, coin-or-mp/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 04:55:27 UTC (rev 148827)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-mp
+pkgver=1.8.3
+pkgrel=2
+pkgdesc="C-API library that supports most of the functionality of CLP (Coin LP), CBC (Coin Branch-and-Cut), and CGL (Cut Generation Library) projects"
+arch=(i686 x86_64)
+url="https://projects.coin-or.org/CoinMP"
+license=(EPL)
+groups=(coin-or)
+depends=(coin-or-cbc)
+provides=(coin-mp)
+source=(http://www.coin-or.org/download/source/CoinMP/CoinMP-$pkgver.tgz)
+sha256sums=('a1a665db36c7fd69c1e53fffbd108cae1bf22f08acf81c394cd454b8168f22f7')
+
+build() {
+  cd CoinMP-$pkgver
+  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-cbc-lib="$(pkg-config --libs cbc)" \
+              --with-cbc-incdir="/usr/include/coin/" \
+              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/"
+  make
+}
+
+check() {
+  cd CoinMP-$pkgver
+  make test
+}
+
+package() {
+  cd CoinMP-$pkgver/CoinMP
+
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir"/build
+}

Copied: coin-or-mp/repos/community-staging-x86_64/PKGBUILD (from rev 148826, coin-or-mp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 04:55:27 UTC (rev 148827)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=coin-or-mp
+pkgver=1.8.3
+pkgrel=2
+pkgdesc="C-API library that supports most of the functionality of CLP (Coin LP), CBC (Coin Branch-and-Cut), and CGL (Cut Generation Library) projects"
+arch=(i686 x86_64)
+url="https://projects.coin-or.org/CoinMP"
+license=(EPL)
+groups=(coin-or)
+depends=(coin-or-cbc)
+provides=(coin-mp)
+source=(http://www.coin-or.org/download/source/CoinMP/CoinMP-$pkgver.tgz)
+sha256sums=('a1a665db36c7fd69c1e53fffbd108cae1bf22f08acf81c394cd454b8168f22f7')
+
+build() {
+  cd CoinMP-$pkgver
+  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-cbc-lib="$(pkg-config --libs cbc)" \
+              --with-cbc-incdir="/usr/include/coin/" \
+              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
+              --with-coinutils-incdir="/usr/include/coin/"
+  make
+}
+
+check() {
+  cd CoinMP-$pkgver
+  make test
+}
+
+package() {
+  cd CoinMP-$pkgver/CoinMP
+
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir"/build
+}



More information about the arch-commits mailing list