From 12c15f5aef8ecb4620143015ccf31ff41847441d Mon Sep 17 00:00:00 2001 From: PaulKinsler Date: Fri, 15 May 2020 21:57:09 +0700 Subject: libraries/libctl: Updated for version 4.5.0. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libctl/libctl.SlackBuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'libraries/libctl/libctl.SlackBuild') diff --git a/libraries/libctl/libctl.SlackBuild b/libraries/libctl/libctl.SlackBuild index 9169f4aca1..bd05d8284f 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} -- cgit v1.2.3