aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-rw-r--r--academic/grass/README1
-rw-r--r--academic/grass/grass.SlackBuild12
-rw-r--r--academic/grass/grass.info8
3 files changed, 12 insertions, 9 deletions
diff --git a/academic/grass/README b/academic/grass/README
index 78dea2ac1430c..94a0f5ae305fd 100644
--- a/academic/grass/README
+++ b/academic/grass/README
@@ -9,6 +9,7 @@ GRASS requires proj, gdal, numpy and wxPython.
The following optional dependencies may be enabled:
blas
lapack
+ geos
ffmpeg
mysql
postgresql
diff --git a/academic/grass/grass.SlackBuild b/academic/grass/grass.SlackBuild
index 407ef33d23390..4232e19bade8b 100644
--- a/academic/grass/grass.SlackBuild
+++ b/academic/grass/grass.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for grass
# Written by David Spencer <baildon.research@googlemail.com>
# This script is dedicated to the public domain
PRGNAM=grass
-VERSION=${VERSION:-6.4.0}
+VERSION=${VERSION:-6.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +60,7 @@ while [[ "$1" != "" ]]; do
in
blas | \
lapack | \
+ geos | \
sqlite )
WITHLIST[$((withnum++))]="--with-$1"
shift
@@ -128,13 +129,14 @@ sed -i -e "s;$PKG;;" -e "s;-$VERSION;;" $PKG/usr/bin/grass64
# Fix fonts path for fontcap
sed -i -e "s;$PKG;;" $PKG/opt/$PRGNAM-$VERSION/etc/fontcap
+# Unversion and install the pkgconfig file
+sed -i -e "s/-${VERSION}//g" grass.pc
+install -D -m0644 grass.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc
+
find $PKG/opt/$PRGNAM-$VERSION/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/opt/$PRGNAM-$VERSION/man -type l ) ; do \
ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Install the pkgconfig file.
-install -D -m0644 grass.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc
-
mkdir -p $PKG/usr/man/man1
cp -a \
$PKG/opt/$PRGNAM-$VERSION/man/man1/grass6.1.gz \
diff --git a/academic/grass/grass.info b/academic/grass/grass.info
index 6cd369d43b7ed..9c2a18c747331 100644
--- a/academic/grass/grass.info
+++ b/academic/grass/grass.info
@@ -1,10 +1,10 @@
PRGNAM="grass"
-VERSION="6.4.0"
+VERSION="6.4.1"
HOMEPAGE="http://grass.osgeo.org/"
-DOWNLOAD="http://grass.osgeo.org/grass64/source/grass-6.4.0.tar.gz"
-MD5SUM="ac3233aa3351f8e060ea48246aa01c7f"
+DOWNLOAD="http://grass.osgeo.org/grass64/source/grass-6.4.1.tar.gz"
+MD5SUM="d8ca83d416b5b0cf2aa9d36c81a77b23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
-APPROVED="dsomero"
+APPROVED="Niels Horn"