diff options
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 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} |