wok-current view truecrypt/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
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 }