From 359bdc6660162d1829de4e1461a444259f677b8c Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Tue, 26 May 2015 07:50:27 -0700 Subject: gis/postgis: Add executables to /usr/bin. Signed-off-by: Benjamin Trigona-Harany --- gis/postgis/postgis.SlackBuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gis') diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild index a614a9eed7e7..95c2a43b61c5 100644 --- a/gis/postgis/postgis.SlackBuild +++ b/gis/postgis/postgis.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=postgis VERSION=${VERSION:-2.1.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -102,6 +102,16 @@ if [ "$PGADMIN" = "yes" ] ; then cp $CWD/$PRGNAM.ini $PKG/usr/share/pgadmin3/plugins.d fi +mkdir -p $PKG/usr/bin +pgbindir=$(pg_config --bindir) +cd $PKG/$pgbindir + for f in *; do + base=`basename $f` + echo ln -s $pgbindir/$base $PKG/usr/bin + ln -s $pgbindir/$base $PKG/usr/bin + done +cd - + mkdir -p $PKG/usr/man/man1 cp -a doc/man/* $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/*.1 -- cgit v1.2.3