summaryrefslogtreecommitdiff
path: root/academic/seaview/seaview.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2012-06-30 11:59:43 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-06-30 11:59:43 -0400
commit45b68fd192cd8e1f13d7cbfc422271dd28e9db12 (patch)
tree2dfce897aa2f1a16e1602eef03fe10a074912597 /academic/seaview/seaview.SlackBuild
parent344022d9c3550b4a266713fe1b5987f9dac85e9b (diff)
downloadslackbuilds-45b68fd192cd8e1f13d7cbfc422271dd28e9db12.tar.gz
academic/seaview: Updated for version 4.3.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/seaview/seaview.SlackBuild')
-rw-r--r--academic/seaview/seaview.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/academic/seaview/seaview.SlackBuild b/academic/seaview/seaview.SlackBuild
index ed40b4786e..7a0404d3de 100644
--- a/academic/seaview/seaview.SlackBuild
+++ b/academic/seaview/seaview.SlackBuild
@@ -24,8 +24,8 @@
# Thanks to Niels Horn for correcting the CFLAGS.
-PRGNAM=seaview
-VERSION=${VERSION:-4.3.3}
+PRGNAM=seaview
+VERSION=${VERSION:-4.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +40,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -73,6 +73,10 @@ find . \
# Use our CFLAGS
sed -i "/^CFLAGS/s/=/+=/" Makefile
+sed -i "14 c FLTK = /usr/include/fltk13" Makefile
+sed -i "s:#IFLTK:IFLTK:" Makefile
+sed -i "18 c LFLTK = -L/usr/lib${LIBDIRSUFFIX}/fltk13" Makefile
+sed -i "28 a LDFLAGS= -Wl,--rpath,/usr/lib${LIBDIRSUFFIX}/fltk13" Makefile
# Point to the correct documentation path and phyml executable name
sed -i "s:#HELPFILE:HELPFILE:" Makefile