wok-next annotate truecrypt/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 474eb4a6385a
children 0c430fcaf2d9
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
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@20527 15 BUILD_DEPENDS="pkcs nasm fuse2-dev wxWidgets28-dev xorg-libSM-dev"
slaxemulator@10347 16
al@20527 17 compile_rules() {
al@20036 18 make \
al@20036 19 PKCS11_INC="/usr/include/pkcs" \
al@20036 20 WX_CONFIG=/usr/bin/wx-config \
al@20036 21 TC_EXTRA_LFLAGS+="-ldl $LDFLAGS" \
al@20036 22 TC_EXTRA_CXXFLAGS="$CXXFLAGS" \
al@20036 23 TC_EXTRA_CFLAGS="$CFLAGS" || return 1
al@20036 24
al@21020 25 install -Dm755 Main/truecrypt $install/usr/bin/truecrypt
al@21020 26 install -Dm644 $stuff/16.png $install/usr/share/icons/hicolor/16x16/apps/truecrypt.png
al@21020 27 install -Dm644 $stuff/48.png $install/usr/share/icons/hicolor/48x48/apps/truecrypt.png
al@21020 28 install -Dm644 License.txt $install/usr/share/licenses/truecrypt/License.txt
al@20036 29
al@20036 30 # function `cook_pick_docs` and web interface can't cope with spaces
al@20036 31 mv Release/Setup\ Files/ Release/Setup_Files/
al@20036 32 mv Release/Setup_Files/TrueCrypt\ User\ Guide.pdf Release/Setup_Files/TrueCrypt_User_Guide.pdf
al@20036 33 cook_pick_docs Release/Setup_Files/*
slaxemulator@10347 34 }
slaxemulator@10347 35
al@20527 36 genpkg_rules() {
al@20036 37 copy @std
al@20527 38 DEPENDS="fuse2 wxWidgets28 xorg-libSM dmsetup linux-md"
slaxemulator@10347 39 }