diff options
author | Jens Weber <jens@tuxane.com> | 2012-06-25 21:23:22 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-25 21:23:22 -0400 |
commit | 752dd5ee3130550cc78e7f8190f29dc02c20323a (patch) | |
tree | 7422c8d86ae95f7fe9f8f9c25c2da3f330b9debf /development/scite/scite.SlackBuild | |
parent | 128b1274f2cde25a526fd087d97b37e645e4256d (diff) | |
download | slackbuilds-752dd5ee3130550cc78e7f8190f29dc02c20323a.tar.gz |
development/scite: Updated for version 3.20.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r-- | development/scite/scite.SlackBuild | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild index 71777c6cd5..eb42a771a2 100644 --- a/development/scite/scite.SlackBuild +++ b/development/scite/scite.SlackBuild @@ -3,9 +3,10 @@ # Written by Iskar Enev <iskar.enev[@]gmail.com> # v2.27: Some modifications by Jens Weber <jens@tuxane.com> # v3.02: (jw) Some more changes, see README.Slackware and changelog +# v3.20: (jw) little changes, see README.Slackware and changelog PRGNAM=scite -VERSION=3.02 +VERSION=3.20 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -25,17 +26,13 @@ HELPBROWSER=mozilla if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" + LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + LIBDIRSUFFIX="" fi set -eu @@ -49,15 +46,11 @@ chown -R root:root scite/ scintilla/ chmod -R u+w,go+r-w,a-s scite/ scintilla/ cd $TMP/scintilla -sed -i "s/^\(CXXFLAGS\)/\1+/g" gtk/makefile -CXXFLAGS="$SLKCFLAGS" \ make -C gtk prefix=/usr cd $TMP/scite sed -i "s%xdg-open%$HELPBROWSER%g" src/Embedded.properties sed -i "s%xdg-open%$HELPBROWSER%g" src/SciTEGlobal.properties -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ make -C gtk prefix=/usr make -C gtk install DESTDIR=$PKG @@ -78,7 +71,7 @@ cat $CWD/config/changelog >> $PKG/usr/doc/$PRGNAM-$VERSION/changelog cat $CWD/config/README.Slackware >> $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware -for i in $PKG/usr/share/scite/*.html $PKG/usr/share/scite/*.png ; do +for i in $PKG/usr/share/scite/*.html $PKG/usr/share/scite/*.png ; do ln -s /usr/share/scite/$(basename $i) \ $PKG/usr/doc/$PRGNAM-$VERSION/html/$(basename $i) ; done |