python/pycryptopp: New maintainer and build clean up.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Markus Reichelt 2012-03-30 00:07:51 -04:00 committed by dsomero
parent b95dd6c50d
commit 39cf19a7de
2 changed files with 14 additions and 5 deletions

View file

@ -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

View file

@ -5,6 +5,6 @@ DOWNLOAD="http://pypi.python.org/packages/source/p/pycryptopp/pycryptopp-0.5.29.
MD5SUM="c5b86ad1ebda0e7999bb50d72e412c6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"
APPROVED="dsomero"