diff options
Diffstat (limited to 'academic/grass/grass.SlackBuild')
-rw-r--r-- | academic/grass/grass.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
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 <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 \ |