2018-08-31 06:46:51 +02:00
|
|
|
# Template file for 'VeraCrypt'
|
2018-02-24 23:17:27 +01:00
|
|
|
pkgname=VeraCrypt
|
2018-03-31 07:02:17 +02:00
|
|
|
version=1.22
|
2018-08-31 06:46:51 +02:00
|
|
|
revision=4
|
2018-02-24 23:17:27 +01:00
|
|
|
create_wrksrc=1
|
2018-08-31 06:46:51 +02:00
|
|
|
build_wrksrc=src
|
2018-02-24 23:17:27 +01:00
|
|
|
build_style=gnu-makefile
|
|
|
|
make_use_env=1
|
2018-03-31 07:02:17 +02:00
|
|
|
hostmakedepends="pkg-config yasm"
|
|
|
|
makedepends="fuse-devel wxWidgets-devel"
|
2018-02-24 23:17:27 +01:00
|
|
|
short_desc="Disk encryption with strong security based on TrueCrypt"
|
|
|
|
maintainer="Gustavo Heinz <gustavoheinz95@gmail.com>"
|
2018-08-31 06:46:51 +02:00
|
|
|
license="Apache-2.0, TrueCrypt 3.0"
|
2018-02-24 23:17:27 +01:00
|
|
|
homepage="https://www.veracrypt.fr"
|
|
|
|
distfiles="https://launchpad.net/veracrypt/trunk/${version}/+download/${pkgname}_${version}_Source.tar.bz2"
|
2018-03-31 07:02:17 +02:00
|
|
|
checksum=9e4c0cc0edda0031978ec13d81f420af55c14b4a6b06c8d448760fd06df7b870
|
2018-02-24 23:17:27 +01:00
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*) ;;
|
|
|
|
*) make_build_args+=' NOASM=1' ;;
|
|
|
|
esac
|
|
|
|
|
2018-08-31 06:46:51 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2018-02-24 23:17:27 +01:00
|
|
|
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
|
|
|
|
}
|