wok view truecrypt/receipt @ rev 20648
Up zstd (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 12 12:12:27 2019 +0100 (2019-01-12) |
parents | affba9aecc73 |
children | 7c0170dd3ecc |
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="fuse wxWidgets28 xorg-libSM dmsetup linux-md"
14 BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets28-dev xorg-libSM-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|uname -m|echo i486|' Makefile
20 sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile
21 export PKCS11_INC="/usr/include/pkcs"
22 cd $src
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin \
30 $fs/usr/share/applications \
31 $fs/usr/share/pixmaps \
32 $fs/usr/share/licenses/$PACKAGE
33 cp -a $src/Main/$PACKAGE $fs/usr/bin
34 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
35 cp -a $src/Resources/Icons/TrueCrypt-48x48.xpm $fs/usr/share/pixmaps/truecrypt.xpm
37 cp -a $src/License.txt $fs/usr/share/licenses/$PACKAGE/License.txt
38 }