wok-next view truecrypt/receipt @ rev 20626
librevenge: fix build for new toolchain
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 26 13:06:21 2018 +0300 (2018-04-26) |
parents | f4530a23116c |
children | d5aab818505e |
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 fuse2-dev wxWidgets28-dev xorg-libSM-dev"
17 compile_rules() {
18 make \
19 PKCS11_INC="/usr/include/pkcs" \
20 WX_CONFIG=/usr/bin/wx-config \
21 TC_EXTRA_LFLAGS+="-ldl $LDFLAGS" \
22 TC_EXTRA_CXXFLAGS="$CXXFLAGS" \
23 TC_EXTRA_CFLAGS="$CFLAGS" || return 1
25 install -Dm 755 Main/truecrypt $install/usr/bin/truecrypt
26 install -Dm 644 $stuff/16.png $install/usr/share/icons/hicolor/16x16/apps/truecrypt.png
27 install -Dm 644 $stuff/48.png $install/usr/share/icons/hicolor/48x48/apps/truecrypt.png
28 install -Dm 644 License.txt $install/usr/share/licenses/truecrypt/License.txt
30 # function `cook_pick_docs` and web interface can't cope with spaces
31 mv Release/Setup\ Files/ Release/Setup_Files/
32 mv Release/Setup_Files/TrueCrypt\ User\ Guide.pdf Release/Setup_Files/TrueCrypt_User_Guide.pdf
33 cook_pick_docs Release/Setup_Files/*
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="fuse2 wxWidgets28 xorg-libSM dmsetup linux-md"
39 }