wok-current annotate veracrypt/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 months ago) |
parents | 72f2704d3ae0 |
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@24051 | 17 current_version() |
pascal@24051 | 18 { |
pascal@24051 | 19 wget -O - ${WGET_URL%archive*}releases 2>/dev/null | \ |
pascal@24051 | 20 sed '/href=/!d;/tar.gz/!d;s|.*VeraCrypt_\(.*\).tar.gz".*|\1|;q' |
pascal@24051 | 21 } |
pascal@24051 | 22 |
pascal@24051 | 23 # Rules to configure and make the package. |
pascal@24051 | 24 compile_rules() |
pascal@24051 | 25 { |
pascal@24051 | 26 cd src && |
pascal@24051 | 27 make ARCH=i686 && |
Hans-G?nter@25099 | 28 make install DESTDIR=$DESTDIR |
pascal@24051 | 29 } |
pascal@24051 | 30 |
pascal@24051 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24051 | 32 genpkg_rules() |
pascal@24051 | 33 { |
Hans-G?nter@25099 | 34 mkdir -p $fs/usr/bin |
Hans-G?nter@25099 | 35 mkdir -p $fs/usr/share |
Hans-G?nter@25099 | 36 |
Hans-G?nter@25099 | 37 cp -a $install/usr/bin/veracrypt $fs/usr/bin |
Hans-G?nter@25099 | 38 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@25099 | 39 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@24051 | 40 } |