1 # Maintainer: Michael Schubert <mschu.dev at gmail>
3 pkgname=libsbml42-layout-render
7 pkgdesc="XML-based description language for computational models in systems biology with layout and render extensions"
8 url="http://sbml.org/Software/libSBML"
10 arch=('i686' 'x86_64')
11 depends=('gcc-libs' 'libxml2')
12 provides=('libsbml=4.2')
14 #optdepends=('bzip2' 'python2' 'perl' 'ruby' 'octave' 'java-runtime')
15 #builddepends=('swig')
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')
23 cd "$srcdir/$_pkgname-$pkgver"
24 patch -p1 < ../libsbml-4.2.0-render-extension-20110115.patch
27 ./configure --prefix=/usr --with-libxml --enable-layout --enable-render
32 cd "$srcdir/$_pkgname-$pkgver"
33 make DESTDIR="$pkgdir" install