summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/gtk+2/gtk+2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/gtk+2/gtk+2.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/gtk+2/gtk+2.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/slackware64-current/source/l/gtk+2/gtk+2.SlackBuild b/slackware64-current/source/l/gtk+2/gtk+2.SlackBuild
index c15b8c6b0..aed7fc274 100755
--- a/slackware64-current/source/l/gtk+2/gtk+2.SlackBuild
+++ b/slackware64-current/source/l/gtk+2/gtk+2.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gtk+2
VERSION=${VERSION:-$(echo gtk+-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j7 "}
@@ -68,7 +68,7 @@ mkdir -p $TMP $PKG/usr
cd $TMP
rm -rf gtk+-$VERSION
tar xvf $CWD/gtk+-$VERSION.tar.?z* || exit 1
-cd gtk+-$VERSION
+cd gtk+-$VERSION || exit 1
chown -R root:root .
find . \
@@ -116,7 +116,7 @@ CFLAGS="$SLKCFLAGS" \
--with-xinput=yes \
--enable-xkb \
--enable-introspection \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
@@ -132,6 +132,9 @@ make install \
DESTDIR=$PKG \
|| exit 1
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
# Don't clobber im-multipress.conf
mv $PKG/etc/gtk-2.0/im-multipress.conf $PKG/etc/gtk-2.0/im-multipress.conf.new || exit 1