summaryrefslogtreecommitdiff
path: root/libraries/Nevow/Nevow.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <mr@mareichelt.com>2014-12-27 21:37:28 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-12-27 23:16:21 -0600
commit6d744c3cde216edd1da98cfe5fa4bd39f9fe3b75 (patch)
tree6715329c1f11c3dbf98922f40aeff59705feb8e5 /libraries/Nevow/Nevow.SlackBuild
parent6fdf08bc7122122e8bef0fadad9506ee4a244f90 (diff)
downloadslackbuilds-6d744c3cde216edd1da98cfe5fa4bd39f9fe3b75.tar.gz
libraries/Nevow: Updated for version 0.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/Nevow/Nevow.SlackBuild')
-rw-r--r--libraries/Nevow/Nevow.SlackBuild19
1 files changed, 7 insertions, 12 deletions
diff --git a/libraries/Nevow/Nevow.SlackBuild b/libraries/Nevow/Nevow.SlackBuild
index e39f42f541..e405bc3716 100644
--- a/libraries/Nevow/Nevow.SlackBuild
+++ b/libraries/Nevow/Nevow.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for Nevow.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
+# Copyright 2014 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +27,8 @@
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=Nevow
-VERSION=${VERSION:-0.10.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.11.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -43,8 +44,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="LICENSE README"
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -69,19 +68,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages
-mv $PKG/usr/twisted $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages
-
mkdir -p $PKG/usr/man/man1
mv $PKG/usr/doc/man/* $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -89,7 +85,6 @@ rm -rf $PKG/usr/doc/man
mkdir $PKG/usr/DOCS ; mv $PKG/usr/doc/* $PKG/usr/DOCS
mv $PKG/usr/DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install