summaryrefslogtreecommitdiff
path: root/development/scite/scite.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r--development/scite/scite.SlackBuild21
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