|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2008,2009,2010,2012 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -27,9 +27,9 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-reportlab} |
|
|
|
|
VERSION=${VERSION:-2.5} |
|
|
|
|
VERSION=${VERSION:-2.6} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-http://www.reportlab.org/ftp/$ARCHIVE} |
|
|
|
|
WGET=${WGET:-http://www.reportlab.com/ftp/$ARCHIVE} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-reportlab} |
|
|
|
@ -96,7 +96,7 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
|
|
|
|
|
mkdir -p $PKG/usr/doc/$NAME |
|
|
|
|
( |
|
|
|
|
cd docs |
|
|
|
|
PYTHONPATH=$PKG/usr/lib$LIBDIRSUFFIX/python2.6/site-packages:$PYTHONPATH \ |
|
|
|
|
PYTHONPATH=$PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages:$PYTHONPATH \ |
|
|
|
|
python genAll.py |
|
|
|
|
) |
|
|
|
|
install -m 644 CHANGES.txt LICENSE.txt README.txt docs/*.pdf $PKG/usr/doc/$NAME |
|
|
|
|