diff options
Diffstat (limited to 'system/rhash/rhash.SlackBuild')
-rw-r--r-- | system/rhash/rhash.SlackBuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/system/rhash/rhash.SlackBuild b/system/rhash/rhash.SlackBuild index c4adccad81..eeeb01b5d0 100644 --- a/system/rhash/rhash.SlackBuild +++ b/system/rhash/rhash.SlackBuild @@ -25,21 +25,30 @@ # Changelog: # v1.3.3 - Re-done the sript and send it to SBo -# 27.02.2015 - no headers!? - thanks to Marcel Saegebarth for spotting this +# 27.2.2015 - no headers!? - thanks to Marcel Saegebarth for spotting this +# 3.3.2015 - added STATICLIB per Marcel Saegebarth request +# П.П. Честит ден на Освобождението, българи! PRGNAM=rhash VERSION=${VERSION:-1.3.3} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} # Shall we compile with OpenSSL support? OPENSSL=${OPENSSL:-yes} +# Shall we install static libraries? +STATICLIB=${STATICLIB:-no} + if [ "$OPENSSL" = "yes" ]; then OPTCFLAGS="-DOPENSSL_RUNTIME -rdynamic" OPTLDFLAGS="-ldl" fi +if [ "$STATICLIB" = "yes" ]; then + INSTALLSTATICLIB="install-lib-static" +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -97,7 +106,7 @@ make ADDCFLAGS="${SLKCFLAGS} -DUSE_GETTEXT ${OPTCFLAGS}" \ PREFIX=/usr \ LIBDIR=/usr/lib${LIBDIRSUFFIX} \ DESTDIR=$PKG \ - install-lib-shared + install-lib-shared $INSTALLSTATICLIB # Install headers make -C librhash \ @@ -108,7 +117,7 @@ make -C librhash \ # Install locales make PREFIX=/usr \ DESTDIR=$PKG \ - compile-gmo install-gmo + install-gmo # Don't clobber the default config mv -v $PKG/etc/rhashrc $PKG/etc/rhashrc.new |