wok-current view truecrypt/receipt @ rev 17651

Up: xz 5.2.0
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 22:23:35 2015 +0000 (2015-02-14)
parents a7d9f1696e01
children affba9aecc73
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 wxWidgets xorg-libSM dmsetup linux-md"
14 BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets-dev xorg-libSM-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile
20 export PKCS11_INC="/usr/include/pkcs"
21 cd $src
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin \
29 $fs/usr/share/applications \
30 $fs/usr/share/pixmaps \
31 $fs/usr/share/licenses/$PACKAGE
32 cp -a $src/Main/$PACKAGE $fs/usr/bin
33 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
34 cp -a $src/Resources/Icons/TrueCrypt-48x48.xpm $fs/usr/share/pixmaps/truecrypt.xpm
36 cp -a $src/License.txt $fs/usr/share/licenses/$PACKAGE/License.txt
37 }