wok annotate veracrypt/receipt @ rev 25694

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