summaryrefslogtreecommitdiffstats
path: root/multimedia/gimp-gap/gimp-gap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gimp-gap/gimp-gap.SlackBuild')
-rw-r--r--multimedia/gimp-gap/gimp-gap.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/multimedia/gimp-gap/gimp-gap.SlackBuild b/multimedia/gimp-gap/gimp-gap.SlackBuild
index 20e4a3bfcd..9c6326d275 100644
--- a/multimedia/gimp-gap/gimp-gap.SlackBuild
+++ b/multimedia/gimp-gap/gimp-gap.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for gimp-gap
-# Copyright 2010-2011 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# Copyright 2010-2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -19,9 +19,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# ChangeLog
+# August, 1: Added LIBS="-lm" to compile
+
PRGNAM=gimp-gap
VERSION=${VERSION:-2.6.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -88,20 +91,22 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-audio-support \
- --build=$ARCH-slackware-linux \
$mp3lame \
$libfaac \
$libfaad \
$libx264 \
$libavformat \
$libmpeg \
- $libxvid
+ $libxvid \
+ --build=$ARCH-slackware-linux \
+ LIBS="-lm"
# Thanks to Heinz Wiesinger for the patch
# This patch should fix compilation if internal ffmpeg is used
#patch -p0 -i $CWD/patch-ffmpeg-Makefile.diff
-make
+# Parallel building seems broken
+make -j1
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \