summaryrefslogtreecommitdiff
path: root/community/extrema
diff options
context:
space:
mode:
Diffstat (limited to 'community/extrema')
-rw-r--r--community/extrema/PKGBUILD30
-rw-r--r--community/extrema/gcc46.patch15
2 files changed, 33 insertions, 12 deletions
diff --git a/community/extrema/PKGBUILD b/community/extrema/PKGBUILD
index 317ea83d4..233b55fa3 100644
--- a/community/extrema/PKGBUILD
+++ b/community/extrema/PKGBUILD
@@ -1,34 +1,40 @@
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# $Id: PKGBUILD 58786 2011-11-18 14:18:33Z andrea $
+# Maintainer:
+# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Marcelo Avalos Tejeda <marcelo.avalos@gmail.com>
pkgname=extrema
pkgver=4.4.5
-pkgrel=1
-pkgdesc='Extrema is a powerful visualization and data analysis tool.'
+pkgrel=2
+pkgdesc='A powerful visualization and data analysis tool'
arch=('i686' 'x86_64')
url='http://exsitewebware.com/extrema/index.html'
license=('GPL')
-depends=('wxgtk' 'zlib' 'libxml2' 'libpng')
-source=("http://downloads.sourceforge.net/project/extrema/extrema/extrema-linux%20v${pkgver}/extrema-${pkgver}.tar.gz"
- 'extrema.desktop')
+depends=('wxgtk')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'extrema.desktop'
+ 'gcc46.patch')
md5sums=('8a1e82b34874db2bfa64d9a2956677b1'
- '0f4d310d230e28436dff20e77aed71bb')
+ '0f4d310d230e28436dff20e77aed71bb'
+ 'be85114cee4c677d33f1522d958e76db')
build() {
- cd ${pkgname}-${pkgver}
+ cd "${srcdir}"/${pkgname}-${pkgver}
- ./configure \
- --prefix=/usr
+ patch -p1 -i "${srcdir}"/gcc46.patch
+ ./configure --prefix=/usr
make
+
+ tar xf extrema_icons.tar.bz2
}
package() {
- cd ${pkgname}-${pkgver}
+ cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
- tar xf extrema_icons.tar.bz2
install -D -m644 32x32/apps/extrema.png \
${pkgdir}/usr/share/pixmaps/extrema.png
diff --git a/community/extrema/gcc46.patch b/community/extrema/gcc46.patch
new file mode 100644
index 000000000..45a804292
--- /dev/null
+++ b/community/extrema/gcc46.patch
@@ -0,0 +1,15 @@
+Fix building with gcc-4.6
+
+https://bugs.gentoo.org/show_bug.cgi?id=363467
+
+Patch written by Kacper Kowalik <xarthisius@gentoo.org>
+--- a/src/Graphics/GRA_thiessenTriangulation.h
++++ b/src/Graphics/GRA_thiessenTriangulation.h
+@@ -19,6 +19,7 @@
+ #define GRA_THIESSENTRIANGULATION
+
+ #include <vector>
++#include <cstddef>
+
+ class GRA_thiessenTriangulation
+ {