wok-4.x view truecrypt/receipt @ rev 12127

fix leafpad compile_rules for tazwok compatibility
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 13 03:48:23 2012 +0100 (2012-03-13)
parents d4594df2a25b
children
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="htttp://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 }