wok annotate truecrypt/receipt @ rev 23425
fusecloop: arch fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 01 11:42:26 2020 +0200 (2020-04-01) |
parents | affba9aecc73 |
children | 7c0170dd3ecc |
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@20212 | 19 sed -i 's|uname -m|echo i486|' Makefile |
pascal@15852 | 20 sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile |
slaxemulator@10347 | 21 export PKCS11_INC="/usr/include/pkcs" |
slaxemulator@10347 | 22 cd $src |
slaxemulator@10347 | 23 make |
slaxemulator@10347 | 24 } |
slaxemulator@10347 | 25 |
slaxemulator@10347 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10347 | 27 genpkg_rules() |
slaxemulator@10347 | 28 { |
slaxemulator@10347 | 29 mkdir -p $fs/usr/bin \ |
slaxemulator@10347 | 30 $fs/usr/share/applications \ |
slaxemulator@10347 | 31 $fs/usr/share/pixmaps \ |
slaxemulator@10347 | 32 $fs/usr/share/licenses/$PACKAGE |
slaxemulator@10347 | 33 cp -a $src/Main/$PACKAGE $fs/usr/bin |
slaxemulator@10347 | 34 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications |
slaxemulator@10347 | 35 cp -a $src/Resources/Icons/TrueCrypt-48x48.xpm $fs/usr/share/pixmaps/truecrypt.xpm |
slaxemulator@10347 | 36 |
slaxemulator@10347 | 37 cp -a $src/License.txt $fs/usr/share/licenses/$PACKAGE/License.txt |
slaxemulator@10347 | 38 } |