summaryrefslogtreecommitdiff
path: root/development/psycopg2/psycopg2.SlackBuild
diff options
context:
space:
mode:
authorCarlos Corbacho <carlos@strangeworlds.co.uk>2010-08-15 19:05:57 -0400
committerErik Hanson <erik@slackbuilds.org>2010-08-15 20:53:43 -0500
commitae58a781f7a18327a3683334c6e23624ad8e6c41 (patch)
tree9ae398a07e4a0d6f19a38cb95c9ddcc0b9111869 /development/psycopg2/psycopg2.SlackBuild
parent9197e7c73a9b90115832e72bc40a650cbebba3ad (diff)
downloadslackbuilds-ae58a781f7a18327a3683334c6e23624ad8e6c41.tar.gz
development/psycopg2: Updated for version 2.2.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/psycopg2/psycopg2.SlackBuild')
-rw-r--r--development/psycopg2/psycopg2.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/development/psycopg2/psycopg2.SlackBuild b/development/psycopg2/psycopg2.SlackBuild
index 9b30bcc5cd..c75fff9d34 100644
--- a/development/psycopg2/psycopg2.SlackBuild
+++ b/development/psycopg2/psycopg2.SlackBuild
@@ -24,16 +24,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=psycopg2
-VERSION=${VERSION:-2.0.14}
+VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
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
@@ -56,8 +54,8 @@ chmod -R u+w,go+r-w,a-s .
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
+find $PKG | xargs file | grep "shared object" | grep ELF | \
+ cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog LICENSE PKG-INFO README doc/*.txt \