wok-6.x view veracrypt/receipt @ rev 24762

avfs: copy mountavfs and umountavfs with proper permissions
author Hans-G?nter Theisgen
date Fri Mar 18 15:07:58 2022 +0100 (2022-03-18)
parents
children 72f2704d3ae0
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 fuse"
14 BUILD_DEPENDS="yasm pkg-config wxWidgets-dev fuse-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 }