From d1dfe23b749354654439ecafb0611116b42747f4 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 28 May 2011 00:33:09 -0300 Subject: academic/grass: Updated for version 6.4.1. Signed-off-by: Niels Horn --- academic/grass/grass.SlackBuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'academic/grass/grass.SlackBuild') diff --git a/academic/grass/grass.SlackBuild b/academic/grass/grass.SlackBuild index 407ef33d23..4232e19bad 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 # 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 \ -- cgit v1.2.3