[arch-commits] Commit in (coin-mp coin-mp/repos coin-mp/trunk coin-mp/trunk/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sat Apr 18 08:05:15 UTC 2015


    Date: Saturday, April 18, 2015 @ 10:05:15
  Author: andyrtr
Revision: 237381

add pkg for LibreOffice

Added:
  coin-mp/
  coin-mp/repos/
  coin-mp/trunk/
  coin-mp/trunk/PKGBUILD

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Added: coin-mp/trunk/PKGBUILD
===================================================================
--- coin-mp/trunk/PKGBUILD	                        (rev 0)
+++ coin-mp/trunk/PKGBUILD	2015-04-18 08:05:15 UTC (rev 237381)
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 237379 2015-04-18 07:18:13Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+pkgname=coin-mp
+pkgver=1.8.0
+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')
+options=('!emptydirs')
+source=(http://www.coin-or.org/download/source/CoinMP/CoinMP-$pkgver.tgz)
+sha512sums=('7542d4c369a54206108dd17761fef1ce6e8f811a57640ed9aaafb227b84e4e616d7e692b8fdea7b20a501b101a35a567c716fe6ad1f239f8c38a47c0884d2a71')
+
+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/" -C
+  make
+}
+
+check() {
+  cd CoinMP-$pkgver
+  make test
+}
+
+package() {
+  cd CoinMP-$pkgver/CoinMP
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir"/ install
+
+  # thanks, autotools…
+  mv "$pkgdir/$pkgdir"/usr/share/coin/doc/CoinMP/* "$pkgdir"/usr/share/coin/doc/CoinMP/
+}
+



More information about the arch-commits mailing list