wok view truecrypt/receipt @ rev 25393
updated util-linux packages (2.35.1 -> 2.38)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 16:38:43 2022 +0100 (2022-08-01) |
parents | 7c0170dd3ecc |
children | df63c4ce07f8 |
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="ftp://ftp.archlinux.org/other/tc/$TARBALL"
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 }