wok view veracrypt/receipt @ rev 25472

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 11 07:33:58 2022 +0000 (2022-10-11)
parents 72f2704d3ae0
children 0262035dc1e7
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 current_version()
18 {
19 wget -O - ${WGET_URL%archive*}releases 2>/dev/null | \
20 sed '/href=/!d;/tar.gz/!d;s|.*VeraCrypt_\(.*\).tar.gz".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd src &&
27 make ARCH=i686 &&
28 make install DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin/veracrypt $fs/usr/bin
38 cp -a $install/usr/share/applications $fs/usr/share
39 cp -a $install/usr/share/pixmaps $fs/usr/share
40 }