summaryrefslogtreecommitdiff
path: root/python/pycryptopp/pycryptopp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pycryptopp/pycryptopp.SlackBuild')
-rw-r--r--python/pycryptopp/pycryptopp.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/python/pycryptopp/pycryptopp.SlackBuild b/python/pycryptopp/pycryptopp.SlackBuild
index bf893137ed..d0f37af90e 100644
--- a/python/pycryptopp/pycryptopp.SlackBuild
+++ b/python/pycryptopp/pycryptopp.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pycryptopp.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
+# Copyright 2012 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,18 +22,19 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Originally written by Marco Bonetti - Thanks!
+# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=pycryptopp
VERSION=${VERSION:-0.5.29}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -78,6 +80,13 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+#cleanup
+rm $PKG/usr/embeddedcryptopp/extraversion.h
+rmdir $PKG/usr/embeddedcryptopp
+rm $PKG/usr/share/doc/pycryptopp/*
+cd $PKG/usr
+rmdir -p share/doc/pycryptopp
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc