wok-6.x view veracrypt/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | 72f2704d3ae0 |
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 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 }