updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libsbml42-layout-render / PKGBUILD
blobd1e4d55b389a89461d5ebb8d46f220b7777600d4
1 # Maintainer: Michael Schubert <mschu.dev at gmail>
3 pkgname=libsbml42-layout-render
4 _pkgname=libsbml
5 pkgver=4.2.0
6 pkgrel=1
7 pkgdesc="XML-based description language for computational models in systems biology with layout and render extensions"
8 url="http://sbml.org/Software/libSBML"
9 license=('LGPL')
10 arch=('i686' 'x86_64')
11 depends=('gcc-libs' 'libxml2')
12 provides=('libsbml=4.2')
13 conflicts=('libsbml')
14 #optdepends=('bzip2' 'python2' 'perl' 'ruby' 'octave' 'java-runtime')
15 #builddepends=('swig')
16 options=('!libtool')
17 source=("http://downloads.sourceforge.net/project/sbml/$_pkgname/$pkgver/$_pkgname-$pkgver-src.tar.gz"
18         "http://otto.bioquant.uni-heidelberg.de/sbml/level2/20110115/libsbml-4.2.0-render-extension-20110115.patch.bz2")
19 md5sums=('734231025b9e75026206e806c187539b'
20          '319a6fac4c28874211020386b37819b9')
22 build() {
23   cd "$srcdir/$_pkgname-$pkgver"
24   patch -p1 < ../libsbml-4.2.0-render-extension-20110115.patch
26   autoconf
27   ./configure --prefix=/usr --with-libxml --enable-layout --enable-render
28   make || return 1
31 package() {
32   cd "$srcdir/$_pkgname-$pkgver"
33   make DESTDIR="$pkgdir" install