updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / emboss / PKGBUILD
blob92f811479c67218ea55c12fbab63c60a5a460e26
1 # Maintainer: Michael Schubert <mschu.dev at gmail>
2 # Contributor: moostik <mooostik_at_gmail.com>
3 # Contributor: mick elliot <micke@sfu.ca>
4 pkgname=emboss
5 _pkgname=EMBOSS
6 pkgver=6.4.0
7 pkgrel=1
8 pkgdesc="A collection of molecular biology applications"
9 arch=('x86_64' 'i686')
10 url="http://emboss.sourceforge.net/"
11 depends=('gd' 'libx11' 'pcre' 'java-runtime' 'libmysqlclient' 'postgresql-libs')
12 options=('!libtool')
13 license=('GPL2')
14 source=("ftp://emboss.open-bio.org/pub/EMBOSS/${_pkgname}-$pkgver.tar.gz")
15 md5sums=('54993a22064222b01bd4fc8086f7684d')
17 build() {
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"
22   make
23   find . -name "Makefile" | xargs sed -i "s:/usr/bin/install:/bin/install:"
26 package() {
27   cd "${srcdir}/${_pkgname}-$pkgver"
28   make prefix="${pkgdir}/usr" install
29   rm -f "${pkgdir}/usr/include/{pcre,pcreposix}.h"