SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "veracrypt"

# SliTaz package receipt.

PACKAGE="veracrypt"
VERSION="1.25.9"
CATEGORY="security"
SHORT_DESC="Disk encryption software based on TrueCrypt 7.1a."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Apache"
WEB_SITE="https://www.veracrypt.fr/en/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://veracrypt.fr/code/VeraCrypt/snapshot/VeraCrypt_$VERSION.tar.gz"

DEPENDS="fuse2 wxWidgets"
BUILD_DEPENDS="fuse2-dev pkg-config wxWidgets-dev yasm"

# What is the latest version available today?
current_version()
{
    wget -O - https://www.veracrypt.fr/en/Downloads.html 2> /dev/null | \
    sed '/Latest Stable/!d;s|.* - ||;s| .*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd src &&
    make ARCH=i686 &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin/veracrypt    $fs/usr/bin
    cp -a $install/usr/share/applications    $fs/usr/share
    cp -a $install/usr/share/pixmaps    $fs/usr/share
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)