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

Andreas Radke andyrtr at archlinux.org
Sat Apr 18 09:43:07 UTC 2015


    Date: Saturday, April 18, 2015 @ 11:43:07
  Author: andyrtr
Revision: 237386

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

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

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

Copied: coin-or-mp/repos/extra-i686/PKGBUILD (from rev 237385, coin-or-mp/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-04-18 09:43:07 UTC (rev 237386)
@@ -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/extra-x86_64/PKGBUILD (from rev 237385, coin-or-mp/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-04-18 09:43:07 UTC (rev 237386)
@@ -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