summaryrefslogtreecommitdiffstats
path: root/libraries/frei0r/frei0r.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2013-11-06 11:59:02 +0100
committer Robby Workman <rworkman@slackbuilds.org>2013-11-07 11:28:17 -0600
commitfd5f7bb451b053f9260f78a3c1b9f880de7057f6 (patch)
tree502575091bfeb07470cf804b4c940c5f9041ad4c /libraries/frei0r/frei0r.SlackBuild
parent89c44a2ebde949d39d092da8b07d4132e673e5ba (diff)
downloadslackbuilds-fd5f7bb451b053f9260f78a3c1b9f880de7057f6.tar.gz
slackbuilds-fd5f7bb451b053f9260f78a3c1b9f880de7057f6.tar.xz
libraries/frei0r: Updated for version 1.4, changed homepage.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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