diff options
Diffstat (limited to 'libraries/skalibs/skalibs.SlackBuild')
-rw-r--r-- | libraries/skalibs/skalibs.SlackBuild | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/libraries/skalibs/skalibs.SlackBuild b/libraries/skalibs/skalibs.SlackBuild index 93a7e794ea..ccc17eed73 100644 --- a/libraries/skalibs/skalibs.SlackBuild +++ b/libraries/skalibs/skalibs.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=skalibs -VERSION=${VERSION:-2.9.2.1} +VERSION=${VERSION:-2.10.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,20 +60,14 @@ fi # If you need to build the shared libraries, just pass BUILD_SHARED=yes to this script BUILD_STATIC=${BUILD_STATIC:-yes} BUILD_SHARED=${BUILD_SHARED:-no} - -if [ "$BUILD_STATIC" = "no" ]; then - LIBS_CONF="--disable-static" -fi - -if [ "$BUILD_SHARED" = "no" ]; then - LIBS_CONF="--disable-shared $LIBS_CONF" -fi - -# skalibs has a default executable search path that will be used by skarnet.org softwares -# if the PATH environment variable is undefined. The upstream default is /usr/bin:/bin but -# we will use /usr/bin:/usr/sbin:/bin:/sbin here instead. You can pass DEF_PATH=some:path:list -# to this script if you want to change it to something else. -DEF_PATH=${DEF_PATH:-/usr/bin:/usr/sbin:/bin:/sbin} +[ "$BUILD_STATIC" = "no" ] && LIBS_CONF="--disable-static" +[ "$BUILD_SHARED" = "no" ] && LIBS_CONF="--disable-shared $LIBS_CONF" + +# The execvep() function from skalibs (used by all skarnet.org softwares) has a default +# executable search path that will be used if the PATH environment variable is undefined. +# The default is /usr/bin:/bin. Pass DEF_PATH=some:path:list to the script if you want to +# change it. +DEF_PATH=${DEF_PATH:-/usr/bin:/bin} set -e |