diff options
author | Christoph Willing <chris.willing@iinet.net.au> | 2014-06-23 00:46:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-23 00:46:10 +0700 |
commit | c41be4a1babe7a6e4c7c78fe76ec427b2ba57d59 (patch) | |
tree | c277e6432499c8ef96af02ed5e07353ae130bd4e /python/euca2ools/euca2ools.SlackBuild | |
parent | bede9e3d6b7045bfb9caa1aca260d8a2c04a7acf (diff) | |
download | slackbuilds-c41be4a1babe7a6e4c7c78fe76ec427b2ba57d59.tar.gz |
python/euca2ools: Updated for version 3.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/euca2ools/euca2ools.SlackBuild')
-rw-r--r-- | python/euca2ools/euca2ools.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/python/euca2ools/euca2ools.SlackBuild b/python/euca2ools/euca2ools.SlackBuild index 78515f2c9a..ea6ba547d9 100644 --- a/python/euca2ools/euca2ools.SlackBuild +++ b/python/euca2ools/euca2ools.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for euca2ools -# Copyright 2013 Christoph Willing, Australia +# Copyright 2013-2014 Christoph Willing, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,9 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - PRGNAM=euca2ools -VERSION=${VERSION:-2.1.3} +VERSION=${VERSION:-3.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,10 +64,10 @@ 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 @@ -79,11 +78,10 @@ mkdir -p $PKG/usr/man/man1 install -m0644 man/*.1 $PKG/usr/man/man1/ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +rm -rf $PKG/usr/share mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGELOG COPYING INSTALL README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |