aboutsummaryrefslogtreecommitdiff
path: root/academic/seaview/seaview.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2015-02-05 06:11:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-05 06:47:44 +0700
commit19d870803ca81e196663119a9c5ec27004c025e3 (patch)
treed64dbd035669cb1a9f59ae105ac3b69a410eb4c1 /academic/seaview/seaview.SlackBuild
parent8a395ca7e4a09215facf4af624e3ae59baca9883 (diff)
academic/seaview: Updated for version 4.5.3.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/seaview/seaview.SlackBuild')
-rw-r--r--academic/seaview/seaview.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/academic/seaview/seaview.SlackBuild b/academic/seaview/seaview.SlackBuild
index 446e1bcc7626..651cf2a4b3e4 100644
--- a/academic/seaview/seaview.SlackBuild
+++ b/academic/seaview/seaview.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for seaview
-# Copyright 2011-2014 Petar Petrov, petar.petrov@student.oulu.fi
+# Copyright 2011-2015 Petar Petrov, petar.petrov@student.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,9 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Thanks to Niels Horn for correcting the CFLAGS.
+# Thanks to developer Dr. Manolo Gouy for all his help.
PRGNAM=seaview
-VERSION=${VERSION:-4.5.2}
+VERSION=${VERSION:-4.5.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,12 +75,15 @@ find -L . \
# Use our CFLAGS
sed -i "/^CFLAGS/s/=/+=/" Makefile
+# Enable PDF output. If you do not want it, comment out the next two
+# lines. Then you do not need to install PDFlib-Lite.
+sed -i "7 c PDF_INC = /usr/include" Makefile
+sed -i "8 c PDF_LIB = /usr/lib${LIBDIRSUFFIX}" Makefile
+
# Point to fltk13 during compilation and make the produced executable
# aware of the libraries' custom location
-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 "29 a LDFLAGS= -Wl,-ldl,--rpath,/usr/lib${LIBDIRSUFFIX}/fltk13" Makefile
+sed -i "11 c FLTK = /usr/include/fltk13" Makefile
+sed -i "15 c CONFIG = /usr/bin/fltk13-config" Makefile
# Point to the correct documentation path and phyml executable name
sed -i "s:#HELPFILE:HELPFILE:" Makefile