aboutsummaryrefslogtreecommitdiff
path: root/libraries/opal/opal.SlackBuild
diff options
context:
space:
mode:
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 e90c92c149aae..c9710bb403ea9 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