summaryrefslogtreecommitdiff
path: root/network/modemu2k/modemu2k.SlackBuild
diff options
context:
space:
mode:
authorAndy Alt <andy400-dev@yahoo.com>2018-10-20 20:15:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-21 06:47:00 +0700
commit927255858fe3d71baa23bc155245569ab2c286c2 (patch)
treee7220024bdbed3687fc8080d12334d6d9b469d26 /network/modemu2k/modemu2k.SlackBuild
parentb07ac41703e624710babe26a88f9790d6d2f290c (diff)
downloadslackbuilds-927255858fe3d71baa23bc155245569ab2c286c2.tar.gz
network/modemu2k: Updated for version 0.0.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/modemu2k/modemu2k.SlackBuild')
-rw-r--r--network/modemu2k/modemu2k.SlackBuild32
1 files changed, 24 insertions, 8 deletions
diff --git a/network/modemu2k/modemu2k.SlackBuild b/network/modemu2k/modemu2k.SlackBuild
index 3980601073..b9245949a2 100644
--- a/network/modemu2k/modemu2k.SlackBuild
+++ b/network/modemu2k/modemu2k.SlackBuild
@@ -1,11 +1,29 @@
#!/bin/sh
-
+#
# Slackware build script for modemu2k
-
-# Written by (Andy Alt) (andy400-dev@yahoo.com)
+#
+# Copyright 2018 / Andy Alt / United States
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=modemu2k
-VERSION=${VERSION:-0.0.2}
+VERSION=${VERSION:-0.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,14 +74,12 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
+ --localedir=/usr/share/locale \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-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
+make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done