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

Antonio Rojas arojas at archlinux.org
Sat May 9 17:11:01 UTC 2015


    Date: Saturday, May 9, 2015 @ 19:11:01
  Author: arojas
Revision: 133102

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

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

---------------------------+
 community-i686/PKGBUILD   |   49 ++++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   49 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

Copied: coin-or-mp/repos/community-i686/PKGBUILD (from rev 133101, coin-or-mp/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-05-09 17:11:01 UTC (rev 133102)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: 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.1
+pkgrel=1
+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')
+options=('!emptydirs')
+source=(http://www.coin-or.org/download/source/CoinMP/CoinMP-$pkgver.tgz)
+sha256sums=('2be92d64a515d9cf0194c1cda4e1ec0b55512f88ce5a7cf1254ffc89e20608d7')
+
+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
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+
+  make DESTDIR="$pkgdir" install
+  mv "$pkgdir/$pkgdir"/usr/share/coin/doc/CoinMP/* "$pkgdir"/usr/share/coin/doc/CoinMP/
+}
+

Copied: coin-or-mp/repos/community-x86_64/PKGBUILD (from rev 133101, coin-or-mp/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-05-09 17:11:01 UTC (rev 133102)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: 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.1
+pkgrel=1
+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')
+options=('!emptydirs')
+source=(http://www.coin-or.org/download/source/CoinMP/CoinMP-$pkgver.tgz)
+sha256sums=('2be92d64a515d9cf0194c1cda4e1ec0b55512f88ce5a7cf1254ffc89e20608d7')
+
+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
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+
+  make DESTDIR="$pkgdir" install
+  mv "$pkgdir/$pkgdir"/usr/share/coin/doc/CoinMP/* "$pkgdir"/usr/share/coin/doc/CoinMP/
+}
+



More information about the arch-commits mailing list