diff options
author | Andrew Strong <andrew.david.52@gmail.com> | 2010-06-17 15:55:48 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-17 15:55:48 -0500 |
commit | 6b07118ed628df5076b5abeeed3b0342f5fa7ee6 (patch) | |
tree | 8efa92cd1200413a436be6aef8782e1e27476969 /libraries/libebml/libebml.SlackBuild | |
parent | 0210c90b174d234ff22dc1dcffa26df8f5097246 (diff) | |
download | slackbuilds-6b07118ed628df5076b5abeeed3b0342f5fa7ee6.tar.gz |
libraries/libebml: Updated for version 1.0.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/libebml/libebml.SlackBuild')
-rw-r--r-- | libraries/libebml/libebml.SlackBuild | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/libraries/libebml/libebml.SlackBuild b/libraries/libebml/libebml.SlackBuild index 0fc231ed48..b0b7937229 100644 --- a/libraries/libebml/libebml.SlackBuild +++ b/libraries/libebml/libebml.SlackBuild @@ -1,9 +1,8 @@ #!/bin/sh -# Slackware 12 build script for libebml -# Last revised: July 17th, 2008. +# Slackware build script for libebml # -# Copyright 2008-2009 Andrew Strong (http://www.andrews-corner.org) +# Copyright 2008,2009,2010 Andrew Strong (http://www.andrews-corner.org) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,25 +22,23 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=libebml -VERSION=${VERSION:-0.7.8} +PRGNAM=libebml +VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -57,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -74,8 +71,10 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -make prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} sharedlib -C make/linux -make prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} install -C make/linux +make -C make/linux sharedlib \ + prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} +make -C make/linux install_sharedlib install_headers \ + prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |