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"

current_version()
{
    wget -O - ${WGET_URL%archive*}releases 2>/dev/null | \
    sed '/href=/!d;/tar.gz/!d;s|.*VeraCrypt_\(.*\).tar.gz".*|\1|;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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)