summaryrefslogtreecommitdiffstats
path: root/deps
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-05-09 23:06:32 +0200
committer Eric Hameleers <alien@slackware.com>2019-05-09 23:06:32 +0200
commitaa6b5caa1caf396893ba8d81736cecc3a61dcd64 (patch)
treec4efa0fff851de26a33ea5a3de05bb239d4f82ce /deps
parent243d25be765ad51f732b28c0d8283005ae08ccb9 (diff)
downloadktown-aa6b5caa1caf396893ba8d81736cecc3a61dcd64.tar.gz
ktown-aa6b5caa1caf396893ba8d81736cecc3a61dcd64.tar.xz
cryfs: added the missing dynamic libraries
Diffstat (limited to '')
-rwxr-xr-xdeps/cryfs/cryfs.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/deps/cryfs/cryfs.SlackBuild b/deps/cryfs/cryfs.SlackBuild
index 4bcc2d2..352c7df 100755
--- a/deps/cryfs/cryfs.SlackBuild
+++ b/deps/cryfs/cryfs.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=cryfs
VERSION=${VERSION:-0.10.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
@@ -109,11 +109,16 @@ cd build
-DBUILD_TESTING=OFF \
-DBoost_INCLUDE_DIRS=/usr/include/boost \
-DBoost_USE_STATIC_LIBS=OFF \
- -DBoost_USE_STATIC_LIBS=off \
-DCRYFS_UPDATE_CHECKS=OFF \
..
make
make install DESTDIR=$PKG
+
+ # Since we don't have static boost libraries, compile & install goes south
+ # and we end up with a set of dynamically linked binaries.
+ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+ install -m0755 ./src/cryfs-cli/libcryfs-cli.so $PKG/usr/lib${LIBDIRSUFFIX}/libcryfs-cli.so
+ install -m0755 ./src/cryfs-unmount/libcryfs-unmount.so $PKG/usr/lib${LIBDIRSUFFIX}/libcryfs-unmount.so
cd ..
# Add documentation: