aboutsummaryrefslogtreecommitdiff
path: root/libraries/opal/opal.SlackBuild
diff options
context:
space:
mode:
authorMauro Giachero <mauro dot giachero at gmail dot com>2010-04-14 20:45:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:37:57 +0200
commit64bba8f1d4f957332713d9b0c73913380ab643fa (patch)
tree214788917899570f6e88b51b25c4689f51e5cca9 /libraries/opal/opal.SlackBuild
parente6dd4502b4899d98b86ccfd04ef6d35cb2b383c8 (diff)
libraries/opal: Updated for version 3.6.7.
Diffstat (limited to 'libraries/opal/opal.SlackBuild')
-rw-r--r--libraries/opal/opal.SlackBuild17
1 files changed, 14 insertions, 3 deletions
diff --git a/libraries/opal/opal.SlackBuild b/libraries/opal/opal.SlackBuild
index e90c92c149aa..c9710bb403ea 100644
--- a/libraries/opal/opal.SlackBuild
+++ b/libraries/opal/opal.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opal
-VERSION=${VERSION:-3.6.2}
+VERSION=${VERSION:-3.6.7}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,6 +52,17 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+
+# Patch to add celt 0.7 support to opal
+# Found at
+# http://packages.gentoo.org/package/net-libs/opal?arches=fbsd
+patch -p1 < $CWD/opal-3.6.7-celt-0.7-update.patch
+(
+ cd plugins
+ aclocal
+ autoconf
+)
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -76,9 +87,9 @@ rm $PKG/usr/lib${LIBDIRSUFFIX}/libopal_s.a
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+ 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
+ xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION