diff options
Diffstat (limited to 'system/postgis/postgis.SlackBuild')
-rwxr-xr-x[-rw-r--r--] | system/postgis/postgis.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/system/postgis/postgis.SlackBuild b/system/postgis/postgis.SlackBuild index 02e39b765d..6af8163479 100644..100755 --- a/system/postgis/postgis.SlackBuild +++ b/system/postgis/postgis.SlackBuild @@ -22,8 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Maintained by Benjamin Trigona-Harany <bosth@alumni.sfu.ca> + PRGNAM=postgis -VERSION=${VERSION:-1.5.2} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,6 +41,11 @@ CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +RASTER=${RASTER:-yes} + +if [ "$RASTER" = "no" ] ; then + RASTER_EXTENSION="--without-raster" +fi if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -78,6 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \ --datarootdir=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + $RASTER_EXTENSION \ --build=$ARCH-slackware-linux make @@ -90,13 +98,10 @@ mkdir -p $PKG/usr/man/man1 cp -a doc/man/* $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/*.1 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COPYING CREDITS ChangeLog NEWS README.postgis TODO \ $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - doc/html/{images,postgis.html,style.css} \ - $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |