wok-6.x annotate veracrypt/receipt @ rev 24051
Add veracrypt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 24 11:24:29 2021 +0000 (2021-05-24) |
parents | |
children | 72f2704d3ae0 |
rev | line source |
---|---|
pascal@24051 | 1 # SliTaz package receipt. |
pascal@24051 | 2 |
pascal@24051 | 3 PACKAGE="veracrypt" |
pascal@24051 | 4 VERSION="1.24-Update7" |
pascal@24051 | 5 CATEGORY="security" |
pascal@24051 | 6 SHORT_DESC="disk encryption software based on TrueCrypt 7.1a" |
pascal@24051 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24051 | 8 LICENSE="Apache" |
pascal@24051 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24051 | 10 WEB_SITE="https://www.veracrypt.fr/en/" |
pascal@24051 | 11 WGET_URL="https://github.com/veracrypt/VeraCrypt/archive/refs/tags/VeraCrypt_$VERSION.tar.gz" |
pascal@24051 | 12 |
pascal@24051 | 13 DEPENDS="wxWidgets fuse" |
pascal@24051 | 14 BUILD_DEPENDS="yasm pkg-config wxWidgets-dev fuse-dev" |
pascal@24051 | 15 |
pascal@24051 | 16 current_version() |
pascal@24051 | 17 { |
pascal@24051 | 18 wget -O - ${WGET_URL%archive*}releases 2>/dev/null | \ |
pascal@24051 | 19 sed '/href=/!d;/tar.gz/!d;s|.*VeraCrypt_\(.*\).tar.gz".*|\1|;q' |
pascal@24051 | 20 } |
pascal@24051 | 21 |
pascal@24051 | 22 # Rules to configure and make the package. |
pascal@24051 | 23 compile_rules() |
pascal@24051 | 24 { |
pascal@24051 | 25 cd src && |
pascal@24051 | 26 make ARCH=i686 && |
pascal@24051 | 27 make DESTDIR=$DESTDIR install |
pascal@24051 | 28 } |
pascal@24051 | 29 |
pascal@24051 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24051 | 31 genpkg_rules() |
pascal@24051 | 32 { |
pascal@24051 | 33 mkdir -p $fs/usr/bin $fs/usr/share |
pascal@24051 | 34 cp -a $install/usr/bin/veracrypt $fs/usr/bin |
pascal@24051 | 35 cp -a $install/usr/share/applications $fs/usr/share |
pascal@24051 | 36 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@24051 | 37 } |