wok view veracrypt/receipt @ rev 25686

Use System category for pm-suspend entry
author Stanislas Leduc <shann@slitaz.org>
date Sat Apr 06 12:03:22 2024 +0200 (7 months ago)
parents 40a4a587479d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="veracrypt"
4 VERSION="1.25.9"
5 CATEGORY="security"
6 SHORT_DESC="Disk encryption software based on TrueCrypt 7.1a."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://www.veracrypt.fr/en/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://veracrypt.fr/code/VeraCrypt/snapshot/VeraCrypt_$VERSION.tar.gz"
14 DEPENDS="fuse2 wxWidgets"
15 BUILD_DEPENDS="fuse2-dev pkg-config wxWidgets-dev yasm"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://www.veracrypt.fr/en/Downloads.html 2> /dev/null | \
21 sed '/Latest Stable/!d;s|.* - ||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd src &&
28 make ARCH=i686 &&
29 make install DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin/veracrypt $fs/usr/bin
39 cp -a $install/usr/share/applications $fs/usr/share
40 cp -a $install/usr/share/pixmaps $fs/usr/share
41 }