summaryrefslogtreecommitdiff
path: root/academic/seaview/seaview.SlackBuild
diff options
context:
space:
mode:
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 446e1bcc76..651cf2a4b3 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