wok view veracrypt/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | 324b3fa82b76 |
children | 40a4a587479d |
line source
1 # SliTaz package receipt.
3 PACKAGE="veracrypt"
4 VERSION="1.24-Update7"
5 CATEGORY="security"
6 SHORT_DESC="disk encryption software based on TrueCrypt 7.1a"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.veracrypt.fr/en/"
11 WGET_URL="https://github.com/veracrypt/VeraCrypt/archive/refs/tags/VeraCrypt_$VERSION.tar.gz"
13 DEPENDS="wxWidgets fuse2"
14 BUILD_DEPENDS="yasm pkg-config wxWidgets-dev fuse2-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%archive*}releases 2>/dev/null | \
19 sed '/href=/!d;/tar.gz/!d;s|.*VeraCrypt_\(.*\).tar.gz".*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd src &&
26 make ARCH=i686 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/share
34 cp -a $install/usr/bin/veracrypt $fs/usr/bin
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/pixmaps $fs/usr/share
37 }