diff options
Diffstat (limited to 'academic/seaview/seaview.SlackBuild')
-rw-r--r-- | academic/seaview/seaview.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/academic/seaview/seaview.SlackBuild b/academic/seaview/seaview.SlackBuild index 651cf2a4b3e46..de4b13147bdf5 100644 --- a/academic/seaview/seaview.SlackBuild +++ b/academic/seaview/seaview.SlackBuild @@ -26,7 +26,7 @@ # Thanks to developer Dr. Manolo Gouy for all his help. PRGNAM=seaview -VERSION=${VERSION:-4.5.3.4} +VERSION=${VERSION:-4.5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,13 +77,16 @@ 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 +sed -i "8 c PDF_INC = /usr/include" Makefile +sed -i "9 c PDF_LIB = /usr/lib${LIBDIRSUFFIX}" Makefile +sed -i "s:#PDF_PS_FLAGS:PDF_PS_FLAGS:" Makefile +sed -i "s:#LPDF:LPDF:" Makefile # Point to fltk13 during compilation and make the produced executable # aware of the libraries' custom location -sed -i "11 c FLTK = /usr/include/fltk13" Makefile -sed -i "15 c CONFIG = /usr/bin/fltk13-config" Makefile +sed -i "16 c FLTK = /usr/include/fltk13" Makefile +sed -i "18 c CONFIG = /usr/bin/fltk13-config" Makefile +sed -i "s:#IFLTK:IFLTK:" Makefile # Point to the correct documentation path and phyml executable name sed -i "s:#HELPFILE:HELPFILE:" Makefile @@ -94,8 +97,8 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make -install -D -m755 seaview $PKG/usr/bin/$PRGNAM -install -D -m644 seaview.1 $PKG/usr/man/man1/$PRGNAM.1 +install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM +install -D -m644 $PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |