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