aboutsummaryrefslogtreecommitdiff
path: root/libraries/libctl
diff options
context:
space:
mode:
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 9169f4aca110..bd05d8284f8c 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 bc3b1e4ae576..3a3395613970 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=""