wok-6.x diff veracrypt/receipt @ rev 24142
linux-aufs: git checkout problem ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 15 08:46:59 2021 +0000 (2021-11-15) |
parents | |
children | 72f2704d3ae0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/veracrypt/receipt Mon Nov 15 08:46:59 2021 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="veracrypt" 1.7 +VERSION="1.24-Update7" 1.8 +CATEGORY="security" 1.9 +SHORT_DESC="disk encryption software based on TrueCrypt 7.1a" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Apache" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://www.veracrypt.fr/en/" 1.14 +WGET_URL="https://github.com/veracrypt/VeraCrypt/archive/refs/tags/VeraCrypt_$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="wxWidgets fuse" 1.17 +BUILD_DEPENDS="yasm pkg-config wxWidgets-dev fuse-dev" 1.18 + 1.19 +current_version() 1.20 +{ 1.21 + wget -O - ${WGET_URL%archive*}releases 2>/dev/null | \ 1.22 + sed '/href=/!d;/tar.gz/!d;s|.*VeraCrypt_\(.*\).tar.gz".*|\1|;q' 1.23 +} 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + cd src && 1.29 + make ARCH=i686 && 1.30 + make DESTDIR=$DESTDIR install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/bin $fs/usr/share 1.37 + cp -a $install/usr/bin/veracrypt $fs/usr/bin 1.38 + cp -a $install/usr/share/applications $fs/usr/share 1.39 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.40 +}