mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
development/scite: Updated for version 1.77
This commit is contained in:
parent
13c6f64b23
commit
f88c5a201c
2 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
APPROVED="dsomero"
|
Loading…
Reference in a new issue