updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / coin-vol / PKGBUILD
blob858d017ee9869eb2384164a057a8599b4fdc5ef3
1 # Maintainer: Daniel Ehlers <danielehlers@mindeye.net>
2 pkgname=coin-vol
3 pkgver=1.2.2
4 pkgrel=2
5 pkgdesc="Vol (Volume Algorithm) is an open-source implementation of a subgradient method that produces primal as well as dual solutions."
6 arch=('i686')
7 url="https://projects.coin-or.org/Vol"
8 license=('EPL')
9 groups=('coin-or')
10 depends=('coin-utils>=2.7.1' 'coin-cgl>=0.56.2' 'coin-clp>=1.13.3')
11 makedepends=('coin-utils>=2.7.1' 'coin-cgl>=0.56.2' 'coin-clp>=1.13.3')
12 source=(http://www.coin-or.org/download/source/Vol/Vol-$pkgver.tgz)
13 md5sums=('b9ba939f364019a7238bcdff39586e13')
15 build() {
16   cd "$srcdir/Vol-$pkgver"
17   COIN_SKIP_PROJECTS="Sample" \
18   ./configure --prefix=/usr \
19               --with-osi-lib="`pkg-config --libs osi`" \
20               --with-osi-incdir="/usr/include/coin/" \
21               --with-coinutils-lib="`pkg-config --libs coinutils`" \
22               --with-coinutils-incdir="/usr/include/coin/" -C
23   make
26 package() {
27   cd "$srcdir/Vol-$pkgver"
28   PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \
29   make DESTDIR="$pkgdir/" install