aboutsummaryrefslogtreecommitdiff
path: root/academic/ds9/ds9.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ds9/ds9.SlackBuild')
-rw-r--r--academic/ds9/ds9.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/academic/ds9/ds9.SlackBuild b/academic/ds9/ds9.SlackBuild
index f6767b091ddf2..6f38b13804ba3 100644
--- a/academic/ds9/ds9.SlackBuild
+++ b/academic/ds9/ds9.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for SAOImage DS9
+# Slackware build script for ds9 (SAOImageDS9)
-# Copyright 2020 Nitish Ragoomundun, Mauritius
+# Copyright 2021 Nitish Ragoomundun, Mauritius
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ds9
-VERSION=${VERSION:-8.1}
+VERSION=${VERSION:-8.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,9 +78,12 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-arch=${ARCH}-slackware-linux
+ --x-includes=/usr/include \
+ --x-libraries=/usr/lib$LIBDIRSUFFIX \
+ --with-x \
+ --with-arch=$ARCH-slackware-linux
-make -j1
+make
# Install the ds9 executable
mkdir -p $PKG/usr/{bin,doc/$PRGNAM-$VERSION}