summaryrefslogtreecommitdiffstats
path: root/libraries/libctl
diff options
context:
space:
mode:
author PaulKinsler <dr.paul@kinsler.org>2023-02-11 00:13:08 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-11 09:30:39 +0700
commitd96d84789c03e405862b61d801240105fb50dd00 (patch)
treea07d9e0283de7834c5bad18235d748ca9e62a268 /libraries/libctl
parent3b7dafa1f1b1190cf024826896b963a8c937d87d (diff)
downloadslackbuilds-d96d84789c03e405862b61d801240105fb50dd00.tar.gz
slackbuilds-d96d84789c03e405862b61d801240105fb50dd00.tar.xz
libraries/libctl: Updated for version 4.5.1.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libctl')
-rw-r--r--libraries/libctl/README26
-rw-r--r--libraries/libctl/libctl.SlackBuild8
-rw-r--r--libraries/libctl/libctl.info6
3 files changed, 29 insertions, 11 deletions
diff --git a/libraries/libctl/README b/libraries/libctl/README
index 4b02fd4e28..4ab50fcea0 100644
--- a/libraries/libctl/README
+++ b/libraries/libctl/README
@@ -1,5 +1,23 @@
-libctl is a Guile (http://www.gnu.org/software/guile/)
-based library for supporting flexible control in
-files in scientific simulations. It is used by the
-scheme-based interface to the electromagnetic
+libctl (flexible control of scientific simulations)
+
+libctl is a Guile (http://www.gnu.org/software/guile/) based library
+for supporting flexible control in files in scientific simulations.
+It is used by the scheme-based interface to the electromagnetic
simulation software programs MPB and MEEP.
+
+Configuration:
+
+The configure options "enable-shared" and "disable-static" are built
+into this slackbuild script. You can add additional options to the
+command line using the environment variable SBOPTIONS_LIBCTL; e.g. to
+install to a chosen location use e.g.:
+
+SBOPTIONS_LIBCTL="--prefix=/usr/local" ./libctl.Slackbuild
+
+Alternatively, if building non-interactively (e.g. if using slpkg),
+use/create the file /etc/sbo_pkg_options.conf since this slackbuild
+script will search it for options instead of using SBOPTIONS_LIBCTL.
+Simply include a line starting "libctl:" followed by options, e.g.:
+
+libctl: --prefix=/usr/local
+
diff --git a/libraries/libctl/libctl.SlackBuild b/libraries/libctl/libctl.SlackBuild
index 559ca5f789..6043ec01b7 100644
--- a/libraries/libctl/libctl.SlackBuild
+++ b/libraries/libctl/libctl.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libctl
-VERSION=${VERSION:-4.5.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.5.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,13 +64,13 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
# change annoying underscores into hyphens
SVERSION=$(echo $VERSION | tr '_' '-')
# make a custom list of doc files in advance
DOCFILES="AUTHORS COPYING COPYRIGHT NEWS.md README.md doc/docs/*.md "
-set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
diff --git a/libraries/libctl/libctl.info b/libraries/libctl/libctl.info
index 3a33956139..bf29fa5e2e 100644
--- a/libraries/libctl/libctl.info
+++ b/libraries/libctl/libctl.info
@@ -1,8 +1,8 @@
PRGNAM="libctl"
-VERSION="4.5.0"
+VERSION="4.5.1"
HOMEPAGE="https://github.com/NanoComp/libctl"
-DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.5.0/libctl-4.5.0.tar.gz"
-MD5SUM="5ea178b99c2b79e1e5f51ee616007757"
+DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.5.1/libctl-4.5.1.tar.gz"
+MD5SUM="9671363c5a9eb4e0aebf5b140acd486d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""