summaryrefslogtreecommitdiff
path: root/libraries/fltk2/fltk2.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2010-04-08 19:39:31 -0500
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-15 10:25:23 +0200
commit737477bfb58c3a96a832ceb523700ab409babd8c (patch)
tree82004f6c0a126b5292f4fbf9141d9e48e5938ecb /libraries/fltk2/fltk2.SlackBuild
parentf95a329fa797e6032894e50ad57f81f5051f2028 (diff)
downloadslackbuilds-737477bfb58c3a96a832ceb523700ab409babd8c.tar.gz
libraries/fltk2: Fixed download link.
Also minor tweaks to the build script...
Diffstat (limited to 'libraries/fltk2/fltk2.SlackBuild')
-rw-r--r--libraries/fltk2/fltk2.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/libraries/fltk2/fltk2.SlackBuild b/libraries/fltk2/fltk2.SlackBuild
index 1b75ed82c8..b943ddea0c 100644
--- a/libraries/fltk2/fltk2.SlackBuild
+++ b/libraries/fltk2/fltk2.SlackBuild
@@ -2,12 +2,12 @@
# Slackware build script for fltk, version 2
+# The script is based on the build script for FLTK, version 1, by LukenShiro.
+# The script has been fixed by the SlackBuilds.org team.
+
# Copyright 2009-2010 Mikhail Zotov <mikhail dot ru@gmail dot com>
# All rights reserved.
#
-# The script is based on the build script for FLTK, version 1, by LukenShiro.
-# The script has been fixed by Robby Workman.
-#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -79,12 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# No manpages are installed
rm -rf $PKG/usr/man