aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvoody <ydoovv@gmail.com>2010-05-13 00:59:59 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:59:59 +0200
commit678618683f8e5d3d6ce95a01bff310d3407b6773 (patch)
tree052cafd5b4ab6b09b556127898a6d484c965a11a
parente54a45f97664df2023cf9303579690cd5e75f77b (diff)
network/fqterm: Added to 13.0 repository
-rw-r--r--network/fqterm/README3
-rw-r--r--network/fqterm/doinst.sh9
-rw-r--r--network/fqterm/fqterm.SlackBuild72
-rw-r--r--network/fqterm/fqterm.info10
-rw-r--r--network/fqterm/slack-desc19
5 files changed, 113 insertions, 0 deletions
diff --git a/network/fqterm/README b/network/fqterm/README
new file mode 100644
index 0000000000000..dbea10f8ac3e8
--- /dev/null
+++ b/network/fqterm/README
@@ -0,0 +1,3 @@
+FQTerm is a cross-platform terminal emulator program which supports
+telnet/ssh1/ssh2 protocols and can process ANSI control sequences.
+It can be used to login BBS sites or *NIX hosts.
diff --git a/network/fqterm/doinst.sh b/network/fqterm/doinst.sh
new file mode 100644
index 0000000000000..5bf84b4cdbb6e
--- /dev/null
+++ b/network/fqterm/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -r usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -q usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/fqterm/fqterm.SlackBuild b/network/fqterm/fqterm.SlackBuild
new file mode 100644
index 0000000000000..c9076a40af65b
--- /dev/null
+++ b/network/fqterm/fqterm.SlackBuild
@@ -0,0 +1,72 @@
+#!/bin/sh
+
+# Slackware build script for fqterm
+
+# Written by vvoody <ydoovv@gmail.com>
+
+PRGNAM=fqterm
+VERSION=${VERSION:-0.9.6.3}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS"" -lutil" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS"" -lutil" \
+ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ ..
+ make
+ make install DESTDIR=$PKG
+cd -
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE INSTALL.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/fqterm/fqterm.info b/network/fqterm/fqterm.info
new file mode 100644
index 0000000000000..175666a39fe4e
--- /dev/null
+++ b/network/fqterm/fqterm.info
@@ -0,0 +1,10 @@
+PRGNAM="fqterm"
+VERSION="0.9.6.3"
+HOMEPAGE="http://fqterm.googlecode.com/"
+DOWNLOAD="http://fqterm.googlecode.com/files/fqterm-0.9.6.3.tar.gz"
+MD5SUM="d9415c20eb1df1be168a465025e41fbc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="vvoody"
+EMAIL="ydoovv@gmail.com"
+APPROVED="dsomero"
diff --git a/network/fqterm/slack-desc b/network/fqterm/slack-desc
new file mode 100644
index 0000000000000..7bd3707540e44
--- /dev/null
+++ b/network/fqterm/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+fqterm: fqterm (a modern terminal emulator)
+fqterm:
+fqterm: FQTerm is a cross-platform terminal emulator program which supports
+fqterm: telnet/ssh1/ssh2 protocols and can process ANSI control sequences. It
+fqterm: can be used to login BBS sites or *NIX hosts.
+fqterm:
+fqterm: Homepage: http://fqterm.googlecode.com/
+fqterm:
+fqterm:
+fqterm:
+fqterm: