wok-next view truecrypt/receipt @ rev 21471
updated truecrypt (7.1a -> 7.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 13 09:30:44 2020 +0100 (2020-05-13) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="truecrypt"
4 VERSION="7.2"
5 CATEGORY="security"
6 SHORT_DESC="Free open-source cross-platform disk encryption software"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://truecrypt.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="https://sources.archlinux.org/other/tc/$TARBALL"
13 #TARBALL_SHA512="b5e766023168015cb91bfd85c9e2621055dd98408215e02704775861b5070c5a0234a00c64c1bf7faa34e6d0b51ac71cd36169dd7a6f84d7a34ad0cfa304796a"
14 WGET_URL="$SF_MIRROR/$PACKAGE/TrueCrypt-$VERSION-source-unix.tar.gz"
15 TARBALL_SHA1="99c9a287233573941a985db62b140042ed418634"
17 BUILD_DEPENDS="fuse2-dev libsm-dev nasm pkcs wxWidgets28-dev"
19 compile_rules()
20 {
21 make \
22 PKCS11_INC="/usr/include/pkcs" \
23 WX_CONFIG=/usr/bin/wx-config \
24 TC_EXTRA_LFLAGS+="-ldl $LDFLAGS" \
25 TC_EXTRA_CXXFLAGS="$CXXFLAGS" \
26 TC_EXTRA_CFLAGS="$CFLAGS" || return 1
28 install -Dm755 Main/truecrypt $install/usr/bin/truecrypt
29 install -Dm644 $stuff/16.png $install/usr/share/icons/hicolor/16x16/apps/truecrypt.png
30 install -Dm644 $stuff/48.png $install/usr/share/icons/hicolor/48x48/apps/truecrypt.png
31 install -Dm644 License.txt $install/usr/share/licenses/truecrypt/License.txt
33 # function `cook_pick_docs` and web interface can't cope with spaces
34 mv Release/Setup\ Files/ Release/Setup_Files/
35 # 7.2 no such file
36 # mv Release/Setup_Files/TrueCrypt\ User\ Guide.pdf Release/Setup_Files/TrueCrypt_User_Guide.pdf
37 cook_pick_docs Release/Setup_Files/*
38 }
40 genpkg_rules()
41 {
42 copy @std
43 DEPENDS="dmsetup fuse2 libsm linux-md wxWidgets28"
44 }