From d96d84789c03e405862b61d801240105fb50dd00 Mon Sep 17 00:00:00 2001 From: PaulKinsler Date: Sat, 11 Feb 2023 00:13:08 +0000 Subject: libraries/libctl: Updated for version 4.5.1. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- libraries/libctl/README | 26 ++++++++++++++++++++++---- libraries/libctl/libctl.SlackBuild | 8 ++++---- libraries/libctl/libctl.info | 6 +++--- 3 files changed, 29 insertions(+), 11 deletions(-) (limited to 'libraries/libctl') 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="" -- cgit v1.2.3-65-gdbad