diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2015-05-26 07:50:27 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-31 10:36:39 +0700 |
commit | 359bdc6660162d1829de4e1461a444259f677b8c (patch) | |
tree | 0060ca4cb8db481baee9764187d35644de8cead9 /gis/postgis | |
parent | 7f5de805f6b4817f24a9eb38c5bb6921dce66b93 (diff) |
gis/postgis: Add executables to /usr/bin.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/postgis')
-rw-r--r-- | gis/postgis/postgis.SlackBuild | 12 |
1 files changed, 11 insertions, 1 deletions
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 |