updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / iphreeqc / PKGBUILD
blob6f004eadad71d05a3f19079aa73b2d434afdd9d5
1 # Maintainer: domanov @ gmail
2 pkgname=iphreeqc
3 pkgver=2.18.3
4 _pkgsvn=5570
5 pkgrel=3
6 pkgdesc="IPhreeqc is phreeqc as module for coupling with i.e. Matlab, Python; and Library for Fortran, C, C++."
7 arch=('i686' 'x86_64')
8 url="http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/"
9 license=('custom')
10 groups=()
11 depends=()
12 makedepends=()
13 checkdepends=()
14 optdepends=()
15 provides=()
16 conflicts=()
17 replaces=()
18 backup=()
19 options=()
20 install=
21 changelog=
22 source=("ftp://brrftp.cr.usgs.gov/pub/charlton/iphreeqc/$pkgname-$pkgver-$_pkgsvn.tar.gz")
23 md5sums=('a0a93eb17b2095dc235052940b60099e')
26 build() {
27   cd "$srcdir/$pkgname-$pkgver-$_pkgsvn"
28   ./configure --prefix=/usr CFLAGS="-mtune=native -O3" CXXFLAGS="-mtune=native -O3"
29   make -j4 
32 check() {
33   cd "$srcdir/$pkgname-$pkgver-$_pkgsvn"
34   make -k check 
37 package() {
38   cd "$srcdir/$pkgname-$pkgver-$_pkgsvn"
39   make DESTDIR="$pkgdir/" install
42 # vim:set ts=2 sw=2 et: