aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/edelib/edelib.SlackBuild15
-rw-r--r--libraries/edelib/edelib.info12
2 files changed, 15 insertions, 12 deletions
diff --git a/libraries/edelib/edelib.SlackBuild b/libraries/edelib/edelib.SlackBuild
index 1b0178e168862..bc0c24fef2303 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 \
diff --git a/libraries/edelib/edelib.info b/libraries/edelib/edelib.info
index e216b52ffcc24..449a8826ae4ba 100644
--- a/libraries/edelib/edelib.info
+++ b/libraries/edelib/edelib.info
@@ -1,10 +1,10 @@
PRGNAM="edelib"
-VERSION="2.0"
-HOMEPAGE="http://sourceforge.net/projects/ede/"
-DOWNLOAD="http://netcologne.dl.sourceforge.net/project/ede/edelib/2.0/edelib-2.0.tar.gz"
-MD5SUM="4964c7395a097bf747ebf9da1f836e6e"
+VERSION="2.1"
+HOMEPAGE="http://edeproject.org/"
+DOWNLOAD="http://sourceforge.net/projects/ede/files/edelib/2.1/edelib-2.1.tar.gz"
+MD5SUM="2e6ee2e1ceaea327967ed55868a1cb9f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fltk jam"
+REQUIRES="fltk13 jam"
MAINTAINER="Andrew Tkalia"
-EMAIL="anddt@yandex.ru"
+EMAIL="anddt@yandex.ua"