diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2011-05-18 11:56:32 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-18 11:56:32 -0500 |
commit | a1a6f37536463487c64ae7eaf387a2d45158a2cf (patch) | |
tree | de9d6e73ffaf8f861ee75365d9b51fd821937c64 /libraries | |
parent | 4ec89d88171faea342970bc773b10054e924299a (diff) | |
download | slackbuilds-a1a6f37536463487c64ae7eaf387a2d45158a2cf.tar.gz |
libraries/libebml: Updated for version 1.2.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libebml/README | 3 | ||||
-rw-r--r-- | libraries/libebml/libebml.SlackBuild | 19 | ||||
-rw-r--r-- | libraries/libebml/libebml.info | 6 |
3 files changed, 19 insertions, 9 deletions
diff --git a/libraries/libebml/README b/libraries/libebml/README index c2a9887a6a..429af8b8e1 100644 --- a/libraries/libebml/README +++ b/libraries/libebml/README @@ -1,3 +1,6 @@ libebml is a C++ libary to parse EBML files. EBML (Extensible Binary Meta-Language library) is a simple XML like binary language for describing data in structured style. + +Interested parties can build static libs by passing STATICLIB=yes to the +script. diff --git a/libraries/libebml/libebml.SlackBuild b/libraries/libebml/libebml.SlackBuild index 47cfbc04c4..ecae168331 100644 --- a/libraries/libebml/libebml.SlackBuild +++ b/libraries/libebml/libebml.SlackBuild @@ -1,10 +1,9 @@ -#!/bin/sh +#!/bin/sh # Slackware build script for libebml -# + # Copyright 2008,2009,2010 Andrew Strong (http://www.andrews-corner.org) # All rights reserved. -# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -23,11 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com + PRGNAM=libebml -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +STATICLIB=${STATICLIB:-no} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -56,6 +59,10 @@ else fi set -e +if [ "$STATICLIB" = "yes" ]; then + MAKESTATICLIB="staticlib" + MAKESTATICLIBINSTALL="install_staticlib" +fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -72,9 +79,9 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -make -C make/linux sharedlib \ +make -C make/linux sharedlib $MAKESTATICLIB \ prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} -make -C make/linux install_sharedlib install_headers \ +make -C make/linux install_sharedlib $MAKESTATICLIBINSTALL install_headers \ prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/libebml/libebml.info b/libraries/libebml/libebml.info index 9f8b41be94..7e50e95da5 100644 --- a/libraries/libebml/libebml.info +++ b/libraries/libebml/libebml.info @@ -1,10 +1,10 @@ PRGNAM="libebml" VERSION="1.0.0" HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix/source.html" -DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-1.0.0.tar.bz2" -MD5SUM="6d438f03d8928d83a2d120ed02705f03" +DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-1.2.0.tar.bz2" +MD5SUM="26fbaa556bb497c1134d33b84ab34443" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Ozan Türkyılmaz" EMAIL="ozan.turkyilmaz@gmail.com" -APPROVED="Michiel van Wessem" +APPROVED="rworkman" |