wok-next view truecrypt/receipt @ rev 19142

Down ffmpeg (2.8.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 12:09:28 2016 +0200 (2016-05-19)
parents 851490d19c0d
children 15aee388a459
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 wxWidgets28 xorg-libSM dmsetup linux-md"
14 BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets28-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 }