diff options
author | LukenShiro <lukenshiro@ngi.it> | 2010-05-13 00:33:14 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:33:14 +0200 |
commit | a3740a34e9f67565f8130557e9466cf2e5eca638 (patch) | |
tree | 47dfe6699a7a0c94379b7958298b80a5e821d60f /libraries/pytables/pytables.SlackBuild | |
parent | 1832b4b27b2f42b9ce890276103adc9ea690aa3f (diff) | |
download | slackbuilds-a3740a34e9f67565f8130557e9466cf2e5eca638.tar.gz |
libraries/pytables: Updated for version 2.1.2
Diffstat (limited to 'libraries/pytables/pytables.SlackBuild')
-rw-r--r-- | libraries/pytables/pytables.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libraries/pytables/pytables.SlackBuild b/libraries/pytables/pytables.SlackBuild index 64e91380cf..9cd29c9301 100644 --- a/libraries/pytables/pytables.SlackBuild +++ b/libraries/pytables/pytables.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pytables -VERSION=${VERSION:-2.1.1} +VERSION=${VERSION:-2.1.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,29 +60,27 @@ cd $SRC_PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# For now Pyrex extensions are not automatically re-built, because -# Slackware pyrex is not yet at required version (>=0.9.8.4). -#CFLAGS=$SLKCFLAGS \ -python setup.py build python setup.py install --prefix=/usr --root=$PKG -# Copy documentation, examples, contrib, and bench files +# Copy examples, contrib, and bench files +mkdir -p $PKG/usr/share/$PRGNAM/ +cp -a examples contrib bench $PKG/usr/share/$PRGNAM/ + +# Copy documentation files mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION +cp $CWD/pytablesmanual-$VERSION.pdf $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/usr/share/$PRGNAM/ -cp -a examples contrib bench $PKG/usr/share/$PRGNAM/ - ( cd $PKG find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null + xargs strip --strip-unneeded 2> /dev/null || true ) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |