summaryrefslogtreecommitdiffstats
path: root/deps/cryptopp
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-04-22 14:06:08 +0200
committer Eric Hameleers <alien@slackware.com>2018-04-22 14:06:08 +0200
commit300418911d32aab4e8f983b0c1fcf9b74d0ad737 (patch)
tree7bc7e3aa63952a6f7987c8cb7c363429c5337bd8 /deps/cryptopp
parent5f2e314a851a8f113fb8b7d339f39ae55e051948 (diff)
downloadktown-300418911d32aab4e8f983b0c1fcf9b74d0ad737.tar.gz
ktown-300418911d32aab4e8f983b0c1fcf9b74d0ad737.tar.xz
Deps: updated cryptopp so I could recompile cryfs
The cryfs package was broken after the recent boost update in -current.
Diffstat (limited to '')
-rw-r--r--deps/cryptopp/.url2
-rwxr-xr-xdeps/cryptopp/cryptopp.SlackBuild15
-rw-r--r--deps/cryptopp/cryptopp.pc4
3 files changed, 15 insertions, 6 deletions
diff --git a/deps/cryptopp/.url b/deps/cryptopp/.url
index 84ca719..d102016 100644
--- a/deps/cryptopp/.url
+++ b/deps/cryptopp/.url
@@ -1 +1 @@
-https://www.cryptopp.com/cryptopp600.zip
+https://www.cryptopp.com/cryptopp610.zip
diff --git a/deps/cryptopp/cryptopp.SlackBuild b/deps/cryptopp/cryptopp.SlackBuild
index ea31458..52e8660 100755
--- a/deps/cryptopp/cryptopp.SlackBuild
+++ b/deps/cryptopp/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=""
diff --git a/deps/cryptopp/cryptopp.pc b/deps/cryptopp/cryptopp.pc
index 070c226..14dca21 100644
--- a/deps/cryptopp/cryptopp.pc
+++ b/deps/cryptopp/cryptopp.pc
@@ -1,6 +1,6 @@
prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib@LIBDIRSUFFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/lib@LIBDIRSUFFIX@
includedir=${prefix}/include/cryptopp
Name: Crypto++