summaryrefslogtreecommitdiff
path: root/network/openconnect/openconnect.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/openconnect/openconnect.SlackBuild')
-rw-r--r--network/openconnect/openconnect.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild
index 1601b6af39..75ac3c4313 100644
--- a/network/openconnect/openconnect.SlackBuild
+++ b/network/openconnect/openconnect.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openconnect
-VERSION=${VERSION:-2.26}
+VERSION=${VERSION:-3.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,10 +71,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make install \
+make install install-lib \
RPM_OPT_FLAGS="$SLKCFLAGS -Wall" \
+ LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DESTDIR=$PKG
-
+
+mv $PKG/usr/share/man $PKG/usr
+rmdir $PKG/usr/share
+gzip -9 $PKG/usr/man/man?/*.?
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true