summaryrefslogtreecommitdiff
path: root/development/scite
diff options
context:
space:
mode:
authorIskar Enev <iskar.enev@gmail.com>2010-05-12 17:38:54 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:38:54 +0200
commitf88c5a201cd64931294ba9311bae024494dd6dc4 (patch)
treee98babab18e98b771e6a2ec02f080b827cae3d8c /development/scite
parent13c6f64b232608c4f2c2bfc147e798fc9aa6437a (diff)
downloadslackbuilds-f88c5a201cd64931294ba9311bae024494dd6dc4.tar.gz
development/scite: Updated for version 1.77
Diffstat (limited to 'development/scite')
-rw-r--r--development/scite/scite.SlackBuild10
-rw-r--r--development/scite/scite.info8
2 files changed, 10 insertions, 8 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild
index 12198cfb24..6a9343b42c 100644
--- a/development/scite/scite.SlackBuild
+++ b/development/scite/scite.SlackBuild
@@ -1,10 +1,9 @@
#!/bin/sh
-
# Slackware build script for SciTE
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=scite
-VERSION=1.76
+VERSION=1.77
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -15,9 +14,11 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -40,6 +41,7 @@ cd $TMP/scite/gtk
sed -i "s%CXXBASEFLAGS=-W -Wall -Wno-char-subscripts -pedantic -Os %CXXBASEFLAGS=-W -Wall -Wno-char-subscripts -pedantic %" makefile
sed -i "s%CXXTFLAGS=-DNDEBUG -Os %CXXTFLAGS=-DNDEBUG $SLKCFLAGS %" makefile
sed -i "s%INSTALL=install -o root -g root%INSTALL=install%" makefile
+
make prefix=/usr
make install DESTDIR=$PKG
diff --git a/development/scite/scite.info b/development/scite/scite.info
index 093190a1ca..15a90c4152 100644
--- a/development/scite/scite.info
+++ b/development/scite/scite.info
@@ -1,8 +1,8 @@
PRGNAM="scite"
-VERSION="1.76"
+VERSION="1.77"
HOMEPAGE="http://scintilla.org/SciTE.html"
-DOWNLOAD="http://downloads.sourceforge.net/scintilla/scite176.tgz"
-MD5SUM="c33461643c62c80420376de37125092b"
+DOWNLOAD="http://downloads.sourceforge.net/scintilla/scite177.tgz"
+MD5SUM="ba016919190c12cfb712e1f004df4187"
MAINTAINER="Iskar Enev"
EMAIL="iskar.enev@gmail.com"
-APPROVED="Erik Hanson" \ No newline at end of file
+APPROVED="dsomero" \ No newline at end of file