summaryrefslogtreecommitdiff
path: root/system/fbterm/fbterm.SlackBuild
diff options
context:
space:
mode:
authorvvoody <ydoovv@gmail.com>2011-06-01 00:17:16 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:33:41 -0400
commit1a42fa75cf0fd8923db484989e8cbea947bb2aee (patch)
tree3ba80146e51e5380b8455e2ff9642408d1211590 /system/fbterm/fbterm.SlackBuild
parentb346863de2f703a15b5c96c6f787314a10b52be2 (diff)
downloadslackbuilds-1a42fa75cf0fd8923db484989e8cbea947bb2aee.tar.gz
system/fbterm: Updated for version 1.7.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/fbterm/fbterm.SlackBuild')
-rw-r--r--system/fbterm/fbterm.SlackBuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/system/fbterm/fbterm.SlackBuild b/system/fbterm/fbterm.SlackBuild
index e310e03658..b1cf5d963e 100644
--- a/system/fbterm/fbterm.SlackBuild
+++ b/system/fbterm/fbterm.SlackBuild
@@ -5,16 +5,16 @@
# Written by vvoody <ydoovv@gmail.com>
PRGNAM=fbterm
-VERSION=1.6
-BUILD=${BUILD:-1}
+VERSION=1.7
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+TARBALL_VERSION=1.7.0
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -24,14 +24,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -44,7 +44,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $TOPDIR
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$TARBALL_VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -78,7 +78,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README ChangeLog AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README ChangeLog AUTHORS NEWS COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install