wok-next view truecrypt/receipt @ rev 20036

Fix truecrypt. Although cryptography is not easy. Use it at your own risk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 22 19:31:48 2017 +0300 (2017-10-22)
parents 15aee388a459
children 474eb4a6385a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="truecrypt"
4 VERSION="7.1a"
5 CATEGORY="security"
6 SHORT_DESC="Free open-source cross-platform disk encryption software"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="other"
9 WEB_SITE="http://www.truecrypt.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://sources.archlinux.org/other/tc/$TARBALL"
13 TARBALL_SHA512="b5e766023168015cb91bfd85c9e2621055dd98408215e02704775861b5070c5a0234a00c64c1bf7faa34e6d0b51ac71cd36169dd7a6f84d7a34ad0cfa304796a"
15 BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets28-dev xorg-libSM-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make \
21 PKCS11_INC="/usr/include/pkcs" \
22 WX_CONFIG=/usr/bin/wx-config \
23 TC_EXTRA_LFLAGS+="-ldl $LDFLAGS" \
24 TC_EXTRA_CXXFLAGS="$CXXFLAGS" \
25 TC_EXTRA_CFLAGS="$CFLAGS" || return 1
27 install -Dm 755 Main/truecrypt $install/usr/bin/truecrypt
28 install -Dm 644 $stuff/16.png $install/usr/share/icons/hicolor/16x16/apps/truecrypt.png
29 install -Dm 644 $stuff/48.png $install/usr/share/icons/hicolor/48x48/apps/truecrypt.png
30 install -Dm 644 License.txt $install/usr/share/licenses/truecrypt/License.txt
32 # function `cook_pick_docs` and web interface can't cope with spaces
33 mv Release/Setup\ Files/ Release/Setup_Files/
34 mv Release/Setup_Files/TrueCrypt\ User\ Guide.pdf Release/Setup_Files/TrueCrypt_User_Guide.pdf
35 cook_pick_docs Release/Setup_Files/*
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 copy @std
42 DEPENDS="fuse wxWidgets28 xorg-libSM dmsetup linux-md"
43 }