summaryrefslogtreecommitdiffstats
path: root/ham/psk31lx
diff options
context:
space:
mode:
author JK Wood <joshuakwood@gmail.com>2017-09-14 22:11:30 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-14 22:11:30 +0700
commitc5a9de3cbe3ceddedf94294cb6819a6768f71c36 (patch)
treee5d752f2242b942c073008904ca8944f7f166bbd /ham/psk31lx
parent26f525ef17da7875502480babd488b54262af740 (diff)
downloadslackbuilds-c5a9de3cbe3ceddedf94294cb6819a6768f71c36.tar.gz
slackbuilds-c5a9de3cbe3ceddedf94294cb6819a6768f71c36.tar.xz
ham/psk31lx: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/psk31lx')
-rw-r--r--ham/psk31lx/psk31lx.SlackBuild11
-rw-r--r--ham/psk31lx/psk31lx.info6
2 files changed, 10 insertions, 7 deletions
diff --git a/ham/psk31lx/psk31lx.SlackBuild b/ham/psk31lx/psk31lx.SlackBuild
index 2084001b79..32578e6239 100644
--- a/ham/psk31lx/psk31lx.SlackBuild
+++ b/ham/psk31lx/psk31lx.SlackBuild
@@ -21,13 +21,13 @@
# that is unlikely, as I am rather tall.
PRGNAM=psk31lx
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -38,8 +38,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,6 +83,9 @@ 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
+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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/ham/psk31lx/psk31lx.info b/ham/psk31lx/psk31lx.info
index eb862cd525..66b655372f 100644
--- a/ham/psk31lx/psk31lx.info
+++ b/ham/psk31lx/psk31lx.info
@@ -1,8 +1,8 @@
PRGNAM="psk31lx"
-VERSION="1.2"
+VERSION="2.1"
HOMEPAGE="http://wa0eir.bcts.info/psk31lx.html"
-DOWNLOAD="http://wa0eir.bcts.info/src/psk31lx-1.2.src.tar.gz"
-MD5SUM="a90bf799315dd19f4a159a210820372f"
+DOWNLOAD="http://wa0eir.bcts.info/src/psk31lx-2.1.src.tar.gz"
+MD5SUM="302d6db4532e97b20560a5ed570c41e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""