diff options
author | PaulKinsler <dr.paul@kinsler.org> | 2020-05-15 21:57:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-15 23:41:46 +0700 |
commit | 12c15f5aef8ecb4620143015ccf31ff41847441d (patch) | |
tree | 1e805668054721f569ae0874616caa25da1ca144 /libraries/libctl/libctl.SlackBuild | |
parent | 980dad4a2cb1cd7376c75d7506ef28eef4e88596 (diff) | |
download | slackbuilds-12c15f5aef8ecb4620143015ccf31ff41847441d.tar.gz |
libraries/libctl: Updated for version 4.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libctl/libctl.SlackBuild')
-rw-r--r-- | libraries/libctl/libctl.SlackBuild | 13 |
1 files changed, 12 insertions, 1 deletions
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} |