updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / coinor-all / PKGBUILD
blobc0f946a6a9d8100249e53432dcdd6bb790fe8c3a
1 # Contributor: Mikko Sysikaski <mikko dot sysikaski at gmail dot com>
2 pkgname=coinor-all
3 pkgver=1.4.0
4 pkgrel=1
5 pkgdesc="COIN-OR project CoinAll distribution"
6 arch=('i686' 'x86_64')
7 url="https://projects.coin-or.org/"
8 license=('CPL')
9 depends=()
10 makedepends=('gcc' 'gcc-fortran' 'blas')
11 source=()
12 md5sums=()
13 conflicts=('osi')
14 provides=('osi')
16 trunk=https://projects.coin-or.org/svn/CoinBinary/CoinAll/releases/$pkgver
17 mod=coin-$pkgver
19 build() {
20         cd $srcdir
22         if [ -d $mod/.svn ]; then
23                 (cd $mod && svn up)
24         else
25                 svn co $trunk $mod
26         fi
28         msg "SVN checkout done or server timeout"
29         msg "Starting make..."
31         rm -rf $srcdir/$mod-build
32         svn export $mod $mod-build
33         cd $mod-build || return 1
35         ./configure --prefix=/usr
36         make || return 1
37         make DESTDIR=$pkgdir install