aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.45@gmail.com>2010-05-12 17:41:08 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:41:08 +0200
commit80ecb950b1b7d1764c574a4cdff536c8cc74663b (patch)
tree7fcee72300e54a0d487632bee293c416317c9267
parent7f41e7b6d2dacef28aed7306aa59a63c78ec9d27 (diff)
libraries/libebml: Updated for version 0.7.8
-rw-r--r--libraries/libebml/libebml.SlackBuild16
-rw-r--r--libraries/libebml/libebml.info2
-rw-r--r--libraries/libebml/slack-desc2
3 files changed, 13 insertions, 7 deletions
diff --git a/libraries/libebml/libebml.SlackBuild b/libraries/libebml/libebml.SlackBuild
index e56f4b1de0a24..fa44118255fbe 100644
--- a/libraries/libebml/libebml.SlackBuild
+++ b/libraries/libebml/libebml.SlackBuild
@@ -36,10 +36,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -48,7 +51,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -59,17 +62,20 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-make prefix=/usr sharedlib -C make/linux
-make prefix=$PKG/usr install -C make/linux
+make prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} sharedlib -C make/linux
+make prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} install -C make/linux
( cd $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
+ 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
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE.LGPL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/libebml/libebml.info b/libraries/libebml/libebml.info
index d91d80f67a381..295a1385c5c58 100644
--- a/libraries/libebml/libebml.info
+++ b/libraries/libebml/libebml.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-0.7.8.tar.bz2"
MD5SUM="6278109f52e4f9d2c8a8dfc0d668b587"
MAINTAINER="Andrew Strong"
EMAIL="andrew.david.45@gmail.com"
-APPROVED="David Somero"
+APPROVED="dsomero,rworkman"
diff --git a/libraries/libebml/slack-desc b/libraries/libebml/slack-desc
index 5742f0b8ab443..7c73da4430a11 100644
--- a/libraries/libebml/slack-desc
+++ b/libraries/libebml/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':'.
|-----handy-ruler-------------------------------------------------------|
-libebml: libebml
+libebml: libebml (a C++ library for parsing EBML files)
libebml:
libebml: libebml is a C++ libary to parse EBML files. EBML (Extensible Binary
libebml: Meta-Language library) is a simple XML like binary language for