From b20d0813c6ca5bdf6b6d5fd11af7ad5ecdc763f2 Mon Sep 17 00:00:00 2001 From: Gustavo Heinz Date: Sat, 24 Feb 2018 19:17:27 -0300 Subject: [PATCH] New package: VeraCrypt-1.21 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #11872 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- srcpkgs/VeraCrypt/template | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/VeraCrypt/template diff --git a/srcpkgs/VeraCrypt/template b/srcpkgs/VeraCrypt/template new file mode 100644 index 00000000000..8d8a8689b72 --- /dev/null +++ b/srcpkgs/VeraCrypt/template @@ -0,0 +1,32 @@ +# Template file for 'Veracrypt' +pkgname=VeraCrypt +version=1.21 +revision=1 +create_wrksrc=1 +build_wrksrc="src" +build_style=gnu-makefile +make_use_env=1 +hostmakedepends="yasm pkg-config" +makedepends="wxWidgets-devel fuse-devel" +short_desc="Disk encryption with strong security based on TrueCrypt" +maintainer="Gustavo Heinz " +license="Apache 2.0, TrueCrypt 3.0" +homepage="https://www.veracrypt.fr" +distfiles="https://launchpad.net/veracrypt/trunk/${version}/+download/${pkgname}_${version}_Source.tar.bz2" +checksum="44717d24b8deff2db9dd0365572063e38bbe4a59438a8c3c07675b5eed370358" + +case "$XBPS_TARGET_MACHINE" in + i686*|x86_64*) ;; + *) make_build_args+=' NOASM=1' ;; +esac + +if [ -n "$CROSS_BUILD" ]; then + make_build_args+=' NOTEST=1' +fi + +do_install() { + vbin Main/veracrypt + vlicense License.txt + vinstall Setup/Linux/veracrypt.desktop 644 usr/share/applications/ + vinstall Resources/Icons/VeraCrypt-256x256.xpm 644 usr/share/pixmaps/ veracrypt.xpm +}