[arch-commits] Commit in (4 files)
Antonio Rojas
arojas at archlinux.org
Sat May 9 17:10:54 UTC 2015
Date: Saturday, May 9, 2015 @ 19:10:54
Author: arojas
Revision: 133101
extra2community: Moving coin-or-mp from extra to community
Added:
coin-or-mp/
coin-or-mp/repos/
coin-or-mp/trunk/
coin-or-mp/trunk/PKGBUILD
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Added: coin-or-mp/trunk/PKGBUILD
===================================================================
--- coin-or-mp/trunk/PKGBUILD (rev 0)
+++ coin-or-mp/trunk/PKGBUILD 2015-05-09 17:10:54 UTC (rev 133101)
@@ -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/
+}
+
Property changes on: coin-or-mp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list