aboutsummaryrefslogtreecommitdiff
path: root/network/sqlrelay/sqlrelay.SlackBuild
diff options
context:
space:
mode:
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 bdd0cec643fd..aa56ae335512 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