wok annotate truecrypt/receipt @ rev 25308
updated sipsak (0.9.7 -> 0.9.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:59:52 2022 +0100 (2022-07-20) |
parents | 7c0170dd3ecc |
children | df63c4ce07f8 |
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 |
pascal@24766 | 13 DEPENDS="fuse2 wxWidgets28 xorg-libSM dmsetup linux-md" |
pascal@24766 | 14 BUILD_DEPENDS="pkcs nasm fuse2-dev wxWidgets28-dev xorg-libSM-dev" |
slaxemulator@10347 | 15 |
pascal@24535 | 16 # What is the latest version available today? |
pascal@24535 | 17 current_version() |
pascal@24535 | 18 { |
pascal@24535 | 19 wget -O - https://sourceforge.net/projects/truecrypt/files/TrueCrypt/Other/ 2>/dev/null | \ |
pascal@24535 | 20 sed '/source-unix.tar/!d;s|.source-unix.tar.*||;s|.*TrueCrypt-||;q' |
pascal@24535 | 21 } |
pascal@24535 | 22 |
slaxemulator@10347 | 23 # Rules to configure and make the package. |
slaxemulator@10347 | 24 compile_rules() |
slaxemulator@10347 | 25 { |
pascal@20212 | 26 sed -i 's|uname -m|echo i486|' Makefile |
pascal@15852 | 27 sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile |
slaxemulator@10347 | 28 export PKCS11_INC="/usr/include/pkcs" |
slaxemulator@10347 | 29 cd $src |
slaxemulator@10347 | 30 make |
slaxemulator@10347 | 31 } |
slaxemulator@10347 | 32 |
slaxemulator@10347 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10347 | 34 genpkg_rules() |
slaxemulator@10347 | 35 { |
slaxemulator@10347 | 36 mkdir -p $fs/usr/bin \ |
slaxemulator@10347 | 37 $fs/usr/share/applications \ |
slaxemulator@10347 | 38 $fs/usr/share/pixmaps \ |
slaxemulator@10347 | 39 $fs/usr/share/licenses/$PACKAGE |
slaxemulator@10347 | 40 cp -a $src/Main/$PACKAGE $fs/usr/bin |
slaxemulator@10347 | 41 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications |
slaxemulator@10347 | 42 cp -a $src/Resources/Icons/TrueCrypt-48x48.xpm $fs/usr/share/pixmaps/truecrypt.xpm |
slaxemulator@10347 | 43 |
slaxemulator@10347 | 44 cp -a $src/License.txt $fs/usr/share/licenses/$PACKAGE/License.txt |
slaxemulator@10347 | 45 } |