aboutsummaryrefslogtreecommitdiff
path: root/libraries/frei0r/frei0r.SlackBuild
diff options
context:
space:
mode:
authorJonathan Larsen <agentc0re@learnix.net>2010-04-08 18:22:52 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:26:27 +0200
commite21fe6b59ecb3d38a6f71966dca5c8204703915c (patch)
tree7e9cafd4ec7281f6ab127adcb0d5cb1f5bb1ffdc /libraries/frei0r/frei0r.SlackBuild
parentd013b34d2344f60eee724290f6c3ddfe3c4566a1 (diff)
libraries/frei0r: Updated build with bash 4 fixes.
Diffstat (limited to 'libraries/frei0r/frei0r.SlackBuild')
-rw-r--r--libraries/frei0r/frei0r.SlackBuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild
index 8141db5861cae..d479e0f061c64 100644
--- a/libraries/frei0r/frei0r.SlackBuild
+++ b/libraries/frei0r/frei0r.SlackBuild
@@ -21,10 +21,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Change Log
+#
+# Mar 3rd, 2010
+# *Revised to build "2" - fixed the "strip" for bash 4
+# *compatability and removed the man page section
+#
+
PRGNAM=frei0r
VERSION=20100124
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -77,16 +84,13 @@ make install DESTDIR=$PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog Doxyfile INSTALL NEWS README \
+cd $TMP/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog Doxyfile INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild