|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2010,2012 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2010,2012,2013 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-tables} |
|
|
|
|
VERSION=${VERSION:-2.4.0} |
|
|
|
|
VERSION=${VERSION:-3.0.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/pytables/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -97,8 +97,7 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
install -m 644 ANNOUNCE.txt LICENSE.txt LICENSES/* PKG-INFO README.txt \ |
|
|
|
|
RELEASE_NOTES.txt THANKS VERSION doc/usersguide-$VERSION.pdf \ |
|
|
|
|
$PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
RELEASE_NOTES.txt THANKS VERSION $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
cp -r examples doc/html doc/scripts $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
|
|
|
|
|
# Copy slack-desc file |
|
|
|
|