aboutsummaryrefslogtreecommitdiff
path: root/libraries/edelib/edelib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/edelib/edelib.SlackBuild')
-rw-r--r--libraries/edelib/edelib.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/libraries/edelib/edelib.SlackBuild b/libraries/edelib/edelib.SlackBuild
index 1b0178e16886..bc0c24fef230 100644
--- a/libraries/edelib/edelib.SlackBuild
+++ b/libraries/edelib/edelib.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for edelib
-# Copyright 2013, Andrew Tkalia <anddt@yandex.ru>, Ukraine, Kyiv
+# Copyright 2013-2014, Andrew Tkalia <anddt@yandex.ua>, Ukraine, Kyiv
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=edelib
-VERSION=2.0
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,11 +64,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}/fltk13" \
+FLTK_CONFIG="/usr/bin/fltk13-config" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -78,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-fltk-path=/usr/lib${LIBDIRSUFFIX}/fltk13 \
--enable-profile \
--enable-shared \
--enable-largefile \