34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# Template file for 'VeraCrypt'
|
|
pkgname=VeraCrypt
|
|
version=1.23
|
|
revision=1
|
|
_realversion="${version}-Hotfix-2"
|
|
create_wrksrc=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, TrueCrypt 3.0"
|
|
homepage="https://www.veracrypt.fr"
|
|
distfiles="${SOURCEFORGE_SITE}/veracrypt/VeraCrypt_${_realversion}_Source.zip"
|
|
checksum=229de81b2478cfa5fa73e74e60798a298cd616e9852b9f47b484c80bc2a2c259
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*) ;;
|
|
*) make_build_args+=' NOASM=1' ;;
|
|
esac
|
|
|
|
if [ "$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
|
|
}
|