diff options
Diffstat (limited to 'system/execline/execline.SlackBuild')
-rw-r--r-- | system/execline/execline.SlackBuild | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/system/execline/execline.SlackBuild b/system/execline/execline.SlackBuild index 21073e4cba8a8..f52427a4db0cb 100644 --- a/system/execline/execline.SlackBuild +++ b/system/execline/execline.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=execline -VERSION=${VERSION:-2.6.1.0} +VERSION=${VERSION:-2.6.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,24 +59,15 @@ fi # 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" = "yes" ]; then - LIBS_CONF="--enable-shared $LIBS_CONF" -fi +[ "$BUILD_STATIC" = "no" ] && LIBS_CONF="--disable-static" +[ "$BUILD_SHARED" = "yes" ] && LIBS_CONF="--enable-shared $LIBS_CONF" # By default, all binaries are linked against the static versions of the skarnet.org libraries # Pass LINK_SHARED=yes to link the binaries against the shared versions of the skarnet.org libraries # Also, if you only built the shared versions of the skarnet.org libraries, the binaries will be # linked against shared libraries automatically, as though LINK_SHARED=yes is passed to this script LINK_SHARED=${LINK_SHARED:-no} - -if [ "$LINK_SHARED" = "yes" ]; then - LIBS_CONF="--disable-allstatic $LIBS_CONF" -fi +[ "$LINK_SHARED" = "yes" ] && LIBS_CONF="--disable-allstatic $LIBS_CONF" set -e |