aboutsummaryrefslogtreecommitdiff
path: root/libraries/libctl
diff options
context:
space:
mode:
authorPaulKinsler <dr.paul@kinsler.org>2020-05-15 21:57:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-15 23:41:46 +0700
commit12c15f5aef8ecb4620143015ccf31ff41847441d (patch)
tree1e805668054721f569ae0874616caa25da1ca144 /libraries/libctl
parent980dad4a2cb1cd7376c75d7506ef28eef4e88596 (diff)
libraries/libctl: Updated for version 4.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libctl')
-rw-r--r--libraries/libctl/libctl.SlackBuild13
-rw-r--r--libraries/libctl/libctl.info6
2 files changed, 15 insertions, 4 deletions
diff --git a/libraries/libctl/libctl.SlackBuild b/libraries/libctl/libctl.SlackBuild
index 9169f4aca1101..bd05d8284f8cc 100644
--- a/libraries/libctl/libctl.SlackBuild
+++ b/libraries/libctl/libctl.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libctl
-VERSION=${VERSION:-4.4.0}
+VERSION=${VERSION:-4.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,7 +74,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
LOCALCONFIGS="--enable-shared"
+XDBFILE=/etc/sbo_pkg_options.conf
+if [ -f ${XDBFILE} ] ; then
+ LOCALCONFIGS=${LOCALCONFIGS}" "$(grep "^${PRGNAM}:" ${XDBFILE} | grep -v '^#' | awk -F: '{print$2}')
+ echo Build options selected by file: LOCALCONFIGS=${LOCALCONFIGS}
+fi
+if [ -n "${SBOPTIONS_LIBCTL}" ] ; then
+ LOCALCONFIGS=${LOCALCONFIGS}" "${SBOPTIONS_LIBCTL}
+ echo Build options selected by environment: LOCALCONFIGS=${LOCALCONFIGS}
+fi
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
@@ -103,5 +113,6 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libctl/libctl.info b/libraries/libctl/libctl.info
index bc3b1e4ae5768..3a33956139708 100644
--- a/libraries/libctl/libctl.info
+++ b/libraries/libctl/libctl.info
@@ -1,8 +1,8 @@
PRGNAM="libctl"
-VERSION="4.4.0"
+VERSION="4.5.0"
HOMEPAGE="https://github.com/NanoComp/libctl"
-DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.4.0/libctl-4.4.0.tar.gz"
-MD5SUM="948a818ddd6dfb8256dcdc1e9fa1dc1e"
+DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.5.0/libctl-4.5.0.tar.gz"
+MD5SUM="5ea178b99c2b79e1e5f51ee616007757"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""