aboutsummaryrefslogtreecommitdiff
path: root/system/evilvte/evilvte.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-07-23 15:47:57 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-07-23 15:47:57 +0100
commit3b5fc23028121a86d2378b2bb6f184cd6245feda (patch)
tree0b859d833a0616cd7000f5c0d39af696306812ab /system/evilvte/evilvte.SlackBuild
parentd3a6944457189881b4df0a654c9db875934125af (diff)
system/evilvte: Updated for version 20140330.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/evilvte/evilvte.SlackBuild')
-rw-r--r--system/evilvte/evilvte.SlackBuild26
1 files changed, 16 insertions, 10 deletions
diff --git a/system/evilvte/evilvte.SlackBuild b/system/evilvte/evilvte.SlackBuild
index e7d45e99479a8..40d9bb2671019 100644
--- a/system/evilvte/evilvte.SlackBuild
+++ b/system/evilvte/evilvte.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for evilvte.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=evilvte
-VERSION=${VERSION:-0.5.2}
+VERSION=${VERSION:-20140330}
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
@@ -40,8 +40,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"
@@ -56,13 +56,13 @@ fi
set -e
-SRCVER="0.5.2~pre1"
+SRCVER=${SRCVER:-8dfa41e26bc640dd8d8c7317ff7d04e3c01ded8a}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -75,7 +75,14 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
make
make install DESTDIR=$PKG
@@ -88,8 +95,7 @@ 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 ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a gpl-2.0.txt $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+cp ChangeLog gpl-2.0.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install