summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/esniper/esniper.SlackBuild21
-rw-r--r--misc/esniper/esniper.info6
2 files changed, 12 insertions, 15 deletions
diff --git a/misc/esniper/esniper.SlackBuild b/misc/esniper/esniper.SlackBuild
index cb8642e582..3d31829088 100644
--- a/misc/esniper/esniper.SlackBuild
+++ b/misc/esniper/esniper.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for esniper
-# Copyright 2015 Hunter Sezen California, USA
+# Copyright 2015, 2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=esniper
-VERSION=${VERSION:-2.31.0}
-SRCVER=$(echo $VERSION | tr . -)
+VERSION=${VERSION:-2.33.0}
+SRCVER=$(printf %s "$VERSION" | tr . -)
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
@@ -41,8 +41,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"
@@ -55,7 +55,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -71,14 +71,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
@@ -91,7 +87,8 @@ 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 TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/misc/esniper/esniper.info b/misc/esniper/esniper.info
index 27f15647b5..5166d3803b 100644
--- a/misc/esniper/esniper.info
+++ b/misc/esniper/esniper.info
@@ -1,8 +1,8 @@
PRGNAM="esniper"
-VERSION="2.31.0"
+VERSION="2.33.0"
HOMEPAGE="http://esniper.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/esniper/files/esniper/2.31.0/esniper-2-31-0.tgz"
-MD5SUM="4b411588c4a223acef7333ab684c7618"
+DOWNLOAD="https://downloads.sourceforge.net/project/esniper/esniper/2.33.0/esniper-2-33-0.tgz"
+MD5SUM="9e9d9646ee6d30fff95241ab423d738b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""