42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 'VeraCrypt'
|
|
pkgname=VeraCrypt
|
|
version=1.25.9
|
|
revision=1
|
|
build_wrksrc=src
|
|
build_style=gnu-makefile
|
|
make_build_args="WX_CONFIG=wx-config-gtk3"
|
|
make_use_env=1
|
|
hostmakedepends="pkg-config yasm unzip"
|
|
makedepends="fuse-devel wxWidgets-gtk3-devel"
|
|
short_desc="Disk encryption with strong security based on TrueCrypt"
|
|
maintainer="Gustavo Heinz <gustavoheinz95@gmail.com>"
|
|
license="Apache-2.0, custom:TrueCrypt-3.0"
|
|
homepage="https://www.veracrypt.fr"
|
|
distfiles="https://www.veracrypt.fr/code/VeraCrypt/snapshot/VeraCrypt_${version}.tar.gz"
|
|
checksum=66f2195f126df53f1037cc4b81ea4b9eaa5cd6aaa351f5cfe324760fdefab0d0
|
|
|
|
# license is Apache-2.0 AND TrueCrypt-3.0
|
|
# TrueCrypt-3.0 is non-free, VI.4 disallow distributing
|
|
repository=nonfree
|
|
restricted=yes
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*) ;;
|
|
*) make_build_args+=' NOASM=1' ;;
|
|
esac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
make_build_args+=' NOTEST=1'
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
|
broken="Error: TestFailed at VeraCrypt::TestCipher:181"
|
|
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
|
|
}
|