wok-next view truecrypt/receipt @ rev 16652

blazekiss: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 13 14:15:55 2014 +0000 (2014-05-13)
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 }