aboutsummaryrefslogtreecommitdiff
path: root/system/veracrypt/veracrypt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/veracrypt/veracrypt.SlackBuild')
-rw-r--r--system/veracrypt/veracrypt.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild
index 22ec7725cb20b..b9e6c430d9f01 100644
--- a/system/veracrypt/veracrypt.SlackBuild
+++ b/system/veracrypt/veracrypt.SlackBuild
@@ -22,10 +22,14 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+# 20220209 bkw: Modified by SlackBuilds.org: updated for v1.25.7 since
+# the previous version wouldn't build on 15.0. Also, always use the
+# correct wx-config version.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=veracrypt
-VERSION=${VERSION:-1.22}
+VERSION=${VERSION:-1.25.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -82,7 +83,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd src
-make
+make WX_CONFIG=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0
make package
cp -av Setup/Linux/usr $PKG
rm -f $PKG/usr/bin/veracrypt-uninstall.sh
@@ -92,9 +93,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- $PKG/usr/share/veracrypt/doc/* \
+ $PKG/usr/share/doc/veracrypt/* \
$PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/veracrypt
+rm -rf $PKG/usr/share/doc/veracrypt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install