mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
gis/postgis: Script clean up.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
parent
cc68fd856c
commit
1e0ce2dbe2
1 changed files with 2 additions and 6 deletions
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for PostGIS
|
||||
|
||||
# Copyright 2009 Peter Sarkoci <sarkoci@math.sk>
|
||||
# Maintained by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -22,8 +23,6 @@
|
|||
# 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 <slackbuilds@jaxartes.net>
|
||||
|
||||
PRGNAM=postgis
|
||||
VERSION=${VERSION:-2.4.3}
|
||||
BUILD=${BUILD:-1}
|
||||
|
@ -46,8 +45,6 @@ PGADMIN=${PGADMIN:-no}
|
|||
|
||||
if [ "$GUI" = "yes" ] ; then
|
||||
SHP2PGSQL_GUI="--with-gui"
|
||||
else
|
||||
PGADMIN=no
|
||||
fi
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
|
@ -77,7 +74,7 @@ find -L . \
|
|||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -91,7 +88,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
$SHP2PGSQL_GUI \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
|
|
Loading…
Reference in a new issue