1 # Maintainer: Michael Schubert <mschu.dev at gmail>
2 # Contributor: moostik <mooostik_at_gmail.com>
3 # Contributor: mick elliot <micke@sfu.ca>
8 pkgdesc="A collection of molecular biology applications"
10 url="http://emboss.sourceforge.net/"
11 depends=('gd' 'libx11' 'pcre' 'java-runtime' 'libmysqlclient' 'postgresql-libs')
14 source=("ftp://emboss.open-bio.org/pub/EMBOSS/${_pkgname}-$pkgver.tar.gz")
15 md5sums=('54993a22064222b01bd4fc8086f7684d')
18 cd "${srcdir}/${_pkgname}-$pkgver"
19 CFLAGS="${CFLAGS} -I${JAVA_HOME}/include"
20 ./configure --prefix=/usr --enable-large --with-x \
21 --with-javaos="${JAVA_HOME}/include/linux"
23 find . -name "Makefile" | xargs sed -i "s:/usr/bin/install:/bin/install:"
27 cd "${srcdir}/${_pkgname}-$pkgver"
28 make prefix="${pkgdir}/usr" install
29 rm -f "${pkgdir}/usr/include/{pcre,pcreposix}.h"