diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2012-03-30 00:07:51 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-03-30 00:07:51 -0400 |
commit | 39cf19a7deace69cd46caaadd43589a4791a0717 (patch) | |
tree | 3132c300b8a20cbc328a70643b0c4a00e5415d03 /python/pycryptopp/pycryptopp.SlackBuild | |
parent | b95dd6c50d9a60af9ed4e759444fec8d3cc1d809 (diff) | |
download | slackbuilds-39cf19a7deace69cd46caaadd43589a4791a0717.tar.gz |
python/pycryptopp: New maintainer and build clean up.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python/pycryptopp/pycryptopp.SlackBuild')
-rw-r--r-- | python/pycryptopp/pycryptopp.SlackBuild | 15 |
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 |