diff options
author | Eric Hameleers <alien@slackware.com> | 2018-04-26 20:34:58 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-04-26 20:34:58 +0000 |
commit | c8efa380f864fd9e376240cd51d9ad4fa10d141b (patch) | |
tree | 8c455520abc2c6ddf4f45415c9ce961293fb0007 /cryptopp | |
parent | 09358ed120c7f877e8842fb7f3ec73d347b75474 (diff) | |
download | asb-c8efa380f864fd9e376240cd51d9ad4fa10d141b.tar.gz asb-c8efa380f864fd9e376240cd51d9ad4fa10d141b.tar.xz |
cryptopp: updated to 6.1.0
Diffstat (limited to 'cryptopp')
-rwxr-xr-x | cryptopp/build/cryptopp.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/cryptopp/build/cryptopp.SlackBuild b/cryptopp/build/cryptopp.SlackBuild index ea314586..52e86609 100755 --- a/cryptopp/build/cryptopp.SlackBuild +++ b/cryptopp/build/cryptopp.SlackBuild @@ -24,13 +24,14 @@ # ----------------------------------------------------------------------------- +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=cryptopp -VERSION=${VERSION:-6.0.0} +VERSION=${VERSION:-6.1.0} SRCVER=$(echo $VERSION | tr -d '.') -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:--j7} -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM @@ -45,6 +46,14 @@ if [ -z "$ARCH" ]; then export ARCH fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" SLKLDFLAGS="" |