aboutsummaryrefslogtreecommitdiff
path: root/network/sqlrelay/sqlrelay.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-07-24 19:27:56 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:21 +0700
commit94bed6e5c6d71995ead333528bbc29b442641b3c (patch)
treebc5b11ffd3513a85aa2b9fbc54abbaffcbe5632f /network/sqlrelay/sqlrelay.SlackBuild
parent23d8304e8d0e698efe70a4975ab1f42ae19742d3 (diff)
network/sqlrelay: Updated for version 0.65.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'network/sqlrelay/sqlrelay.SlackBuild')
-rw-r--r--network/sqlrelay/sqlrelay.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/sqlrelay/sqlrelay.SlackBuild b/network/sqlrelay/sqlrelay.SlackBuild
index bdd0cec643fd2..aa56ae3355123 100644
--- a/network/sqlrelay/sqlrelay.SlackBuild
+++ b/network/sqlrelay/sqlrelay.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sqlrelay
-# Copyright 2015 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2016 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sqlrelay
-VERSION=${VERSION:-0.59}
+VERSION=${VERSION:-0.65.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -98,7 +98,11 @@ make -j1 install DESTDIR=$PKG
mv $PKG/etc/init.d $PKG/etc/rc.d
(cd $PKG/etc/rc.d ; for i in * ; do mv $i rc.$i.new; done)
-for i in $PKG/etc/sqlrelay/sqlrelay.{xsd,dtd} ; do mv $i $i.new ; done
+for i in $PKG/etc/{sqlrelay/*.xsd,php.d/*.ini} ; do mv $i $i.new ; done
+
+# Cruft removal
+rm $PKG/usr/share/licenses/sqlrelay/COPYING
+rmdir $PKG/usr/{share/licenses/sqlrelay,share/licenses}
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true