wok-next annotate 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 |
rev | line source |
---|---|
slaxemulator@10347 | 1 # SliTaz package receipt. |
slaxemulator@10347 | 2 |
slaxemulator@10347 | 3 PACKAGE="truecrypt" |
slaxemulator@15849 | 4 VERSION="7.1a" |
slaxemulator@10347 | 5 CATEGORY="security" |
slaxemulator@10347 | 6 SHORT_DESC="Free open-source cross-platform disk encryption software" |
slaxemulator@10347 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15601 | 8 LICENSE="other" |
slaxemulator@10347 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12399 | 10 WEB_SITE="http://www.truecrypt.org" |
slaxemulator@10347 | 11 WGET_URL="ftp://ftp.archlinux.org/other/tc/$TARBALL" |
slaxemulator@10347 | 12 |
al@18521 | 13 DEPENDS="fuse wxWidgets28 xorg-libSM dmsetup linux-md" |
al@18521 | 14 BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets28-dev xorg-libSM-dev" |
slaxemulator@10347 | 15 |
slaxemulator@10347 | 16 # Rules to configure and make the package. |
slaxemulator@10347 | 17 compile_rules() |
slaxemulator@10347 | 18 { |
pascal@15852 | 19 sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile |
slaxemulator@10347 | 20 export PKCS11_INC="/usr/include/pkcs" |
slaxemulator@10347 | 21 cd $src |
slaxemulator@10347 | 22 make |
slaxemulator@10347 | 23 } |
slaxemulator@10347 | 24 |
slaxemulator@10347 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10347 | 26 genpkg_rules() |
slaxemulator@10347 | 27 { |
slaxemulator@10347 | 28 mkdir -p $fs/usr/bin \ |
slaxemulator@10347 | 29 $fs/usr/share/applications \ |
slaxemulator@10347 | 30 $fs/usr/share/pixmaps \ |
slaxemulator@10347 | 31 $fs/usr/share/licenses/$PACKAGE |
slaxemulator@10347 | 32 cp -a $src/Main/$PACKAGE $fs/usr/bin |
slaxemulator@10347 | 33 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications |
slaxemulator@10347 | 34 cp -a $src/Resources/Icons/TrueCrypt-48x48.xpm $fs/usr/share/pixmaps/truecrypt.xpm |
slaxemulator@10347 | 35 |
slaxemulator@10347 | 36 cp -a $src/License.txt $fs/usr/share/licenses/$PACKAGE/License.txt |
slaxemulator@10347 | 37 } |