diff options
author | Eric Hameleers <alien@slackware.com> | 2008-07-04 21:52:23 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-07-04 21:52:23 +0000 |
commit | 45f825e55f44a1afb3043a0244eacc2825558538 (patch) | |
tree | cd3ab97639deff0ead2cacaee73a5d9c45013924 /truecrypt/build/truecrypt.SlackBuild | |
parent | 83be5821d9d822f6cddcd1df80c9fdeebd132288 (diff) | |
download | asb-45f825e55f44a1afb3043a0244eacc2825558538.tar.gz asb-45f825e55f44a1afb3043a0244eacc2825558538.tar.xz |
Final version of the script for truecrypt 5.1a
Diffstat (limited to '')
-rwxr-xr-x | truecrypt/build/truecrypt.SlackBuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/truecrypt/build/truecrypt.SlackBuild b/truecrypt/build/truecrypt.SlackBuild index a4cde96d..2f8e4180 100755 --- a/truecrypt/build/truecrypt.SlackBuild +++ b/truecrypt/build/truecrypt.SlackBuild @@ -66,8 +66,6 @@ ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-alien} -DOCS="Readme.txt License.txt userguide.pdf \ - Release/Setup\ Files/TrueCrypt\ User\ Guide.pdf" WX=${WX:-2.8.8} # for the GUI # Where do we look for sources? @@ -188,8 +186,8 @@ export CXXFLAGS="$SLKCFLAGS" export CFLAGS="$SLKCFLAGS" # First build a static wxGTK, then build truecrypt: -make WX_ROOT==$(cd ../wxGTK-$WXGTK; pwd) wxbuild 2>&1 | tee $OUTPUT/make-${PRGNAM}.log -make 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log +make WX_ROOT=$(cd ../wxWidgets-$WX; pwd) VERBOSE=1 wxbuild 2>&1 | tee $OUTPUT/make-${PRGNAM}.log +make VERBOSE=1 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log # Install the binary: mkdir -p $PKG/usr/bin @@ -222,17 +220,11 @@ EOT # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true +cp -a Readme.txt License.txt Release/Setup\ Files/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION || true cp -a $SRCDIR/$(basename $0) $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; -# Strip binaries: -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -cd - - # Add a package description: mkdir -p $PKG/install cat $SRCDIR/slack-desc > $PKG/install/slack-desc |