summaryrefslogtreecommitdiff
path: root/libraries/frei0r/frei0r.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/frei0r/frei0r.SlackBuild')
-rw-r--r--libraries/frei0r/frei0r.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild
index 1523616827..ae6e370803 100644
--- a/libraries/frei0r/frei0r.SlackBuild
+++ b/libraries/frei0r/frei0r.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright 2009, Jonathan Larsen (agentc0re), SLC, UT
# Contact Info: agentc0re 'AT' learnix 'DOT' net
@@ -25,12 +25,13 @@
#
# Mar 3rd, 2010
# *Revised to build "2" - fixed the "strip" for bash 4
-# *compatability and removed the man page section
-#
+# *compatibility and removed the man page section
+# Mar 12th, 2013
+# *Updated for 1.4
PRGNAM=frei0r
-VERSION=1.3
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -67,9 +68,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-plugins-$VERSION
tar xvf $CWD/$PRGNAM-plugins-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $PRGNAM-plugins-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -91,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION