summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/tcptrack/tcptrack.SlackBuild10
-rw-r--r--network/tcptrack/tcptrack.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/network/tcptrack/tcptrack.SlackBuild b/network/tcptrack/tcptrack.SlackBuild
index 8b04bfc4ef..52d8305f1b 100644
--- a/network/tcptrack/tcptrack.SlackBuild
+++ b/network/tcptrack/tcptrack.SlackBuild
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tcptrack
-VERSION=1.2.0
+VERSION=1.3.0
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -54,7 +56,9 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
diff --git a/network/tcptrack/tcptrack.info b/network/tcptrack/tcptrack.info
index 28829cdfc7..cf323b6d07 100644
--- a/network/tcptrack/tcptrack.info
+++ b/network/tcptrack/tcptrack.info
@@ -1,8 +1,8 @@
PRGNAM="tcptrack"
-VERSION="1.2.0"
+VERSION="1.3.0"
HOMEPAGE="http://www.rhythm.cx/~steve/devel/tcptrack/"
-DOWNLOAD="http://www.rhythm.cx/~steve/devel/tcptrack/release/1.2.0/source/tcptrack-1.2.0.tar.gz"
-MD5SUM="cb7ae4a9d573933732c84ebbe6f0ccda"
+DOWNLOAD="http://www.rhythm.cx/~steve/devel/tcptrack/release/1.3.0/source/tcptrack-1.3.0.tar.gz"
+MD5SUM="227baeb2f96758f7614f6f788b6a4d93"
MAINTAINER="Ricardson Williams"
EMAIL="ricardsonwilliams@yahoo.com.br"
APPROVED="rworkman"