wok view truecrypt/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | 72f2704d3ae0 |
children |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.truecrypt.org"
11 WGET_URL="http://cyberside.net.ee/truecrypt/TrueCrypt%20$VERSION%20Source.tar.gz"
13 DEPENDS="fuse2 wxWidgets28 xorg-libSM dmsetup linux-md"
14 BUILD_DEPENDS="pkcs nasm fuse2-dev wxWidgets28-dev xorg-libSM-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/truecrypt/files/TrueCrypt/Other/ 2>/dev/null | \
20 sed '/source-unix.tar/!d;s|.source-unix.tar.*||;s|.*TrueCrypt-||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i486|' Makefile
27 sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile
28 export PKCS11_INC="/usr/include/pkcs"
29 cd $src
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin \
37 $fs/usr/share/applications \
38 $fs/usr/share/pixmaps \
39 $fs/usr/share/licenses/$PACKAGE
40 cp -a $src/Main/$PACKAGE $fs/usr/bin
41 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
42 cp -a $src/Resources/Icons/TrueCrypt-48x48.xpm $fs/usr/share/pixmaps/truecrypt.xpm
44 cp -a $src/License.txt $fs/usr/share/licenses/$PACKAGE/License.txt
45 }