wok-current view truecrypt/receipt @ rev 15171

gummi: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 16 08:40:38 2013 +0000 (2013-08-16)
parents bb8c974d7ed8
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="truecrypt"
4 VERSION="7.0a"
5 CATEGORY="security"
6 SHORT_DESC="Free open-source cross-platform disk encryption software"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.truecrypt.org"
10 WGET_URL="ftp://ftp.archlinux.org/other/tc/$TARBALL"
12 DEPENDS="fuse wxWidgets xorg-libSM dmsetup linux-md"
13 BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets-dev xorg-libSM-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 export PKCS11_INC="/usr/include/pkcs"
19 cd $src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin \
27 $fs/usr/share/applications \
28 $fs/usr/share/pixmaps \
29 $fs/usr/share/licenses/$PACKAGE
30 cp -a $src/Main/$PACKAGE $fs/usr/bin
31 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
32 cp -a $src/Resources/Icons/TrueCrypt-48x48.xpm $fs/usr/share/pixmaps/truecrypt.xpm
34 cp -a $src/License.txt $fs/usr/share/licenses/$PACKAGE/License.txt
35 }