summaryrefslogtreecommitdiff
path: root/libraries/edelib/edelib.SlackBuild
diff options
context:
space:
mode:
authorAndrew Tkalia <anddt@yandex.ua>2014-06-27 19:12:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-27 19:12:50 +0700
commitc485f121b0c215b8ac786d91970aead90d09073e (patch)
tree8be8502651c7b08cc10e2f3b98adca3da92cd6c2 /libraries/edelib/edelib.SlackBuild
parent5b275126df3d989a41762f2a5c6092b76e565ee8 (diff)
downloadslackbuilds-c485f121b0c215b8ac786d91970aead90d09073e.tar.gz
libraries/edelib: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 1b0178e168..bc0c24fef2 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 \