summaryrefslogtreecommitdiff
path: root/extra/labplot/PKGBUILD
blob: 4f9cf027a5cb564d90cc063cbad68911c957cae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $Id: PKGBUILD 69056 2010-02-16 15:06:54Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Tobias Powalowski <t.powa@gmx.de>

pkgname=labplot
pkgver=1.6.0.2
pkgrel=6
pkgdesc="Plotting, Data analysis and visualisation"
arch=('i686' 'x86_64' 'mips64el')
url="http://staff.mbi-berlin.de/gerlach/Linux/LabPlot/"
license=("GPL")
depends=('kdelibs3' 'gsl' 'imagemagick' \
	'fftw' 'netcdf>=4.1')
makedepends=('libxml++>=2.26' 'audiofile')
options=('!libtool' '!makeflags')
source=(http://downloads.sourceforge.net/$pkgname/LabPlot-$pkgver.tar.gz define-missing-constant.patch
	'hdf5-1.8.patch')

md5sums=('850256dcd02c4a8ede5b5fe3fbc21ab7' 'e8133bb7b8da63f4ae5a0b998c37b702'
         '1d38c7304a53b238f8cecb337771ed6f')


build() {
 cd $srcdir/LabPlot-${pkgver}
 patch -p1 < ../define-missing-constant.patch || return 1
 patch -Np0 -i ${srcdir}/hdf5-1.8.patch || return 1

 # source kde3 variables
 source /etc/profile.d/kde3.sh

 # build and install
 ./configure --prefix=/opt/kde --enable-mt \
	--without-arts --disable-audiofile \
	--mandir=/opt/kde/share/man
	--disable-KexiDB
 make || return 1
 make DESTDIR=${pkgdir} install || return 1
}