summaryrefslogtreecommitdiff
path: root/desktop/ede/ede.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ede/ede.SlackBuild')
-rw-r--r--desktop/ede/ede.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/desktop/ede/ede.SlackBuild b/desktop/ede/ede.SlackBuild
index 81568d34a8..3119fa2a51 100644
--- a/desktop/ede/ede.SlackBuild
+++ b/desktop/ede/ede.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ede
-# 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=ede
-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=yes \
--enable-hal=no \
--enable-largefile=yes \
@@ -90,9 +93,7 @@ jam -sDESTDIR=$PKG -sEDE_DOC_DIR=/usr/doc/${PRGNAM}-${VERSION} install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-cp -a \
- AUTHORS AUTHORS.pekwm COPYING ChangeLog README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS AUTHORS.pekwm COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/X11/xinit