diff options
author | Iskar Enev <iskar.enev@gmail.com> | 2010-05-12 17:38:54 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:38:54 +0200 |
commit | f88c5a201cd64931294ba9311bae024494dd6dc4 (patch) | |
tree | e98babab18e98b771e6a2ec02f080b827cae3d8c /development/scite/scite.SlackBuild | |
parent | 13c6f64b232608c4f2c2bfc147e798fc9aa6437a (diff) | |
download | slackbuilds-f88c5a201cd64931294ba9311bae024494dd6dc4.tar.gz |
development/scite: Updated for version 1.77
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r-- | development/scite/scite.SlackBuild | 10 |
1 files changed, 6 insertions, 4 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 |