Browse Source

l/libebml: Upgraded to libebml-1.3.9.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
a37735e469
  1. 1
      l/libebml/libebml-1.3.4.tar.bz2.sha1
  2. 1
      l/libebml/libebml-1.3.9.tar.xz.sha256
  3. 21
      l/libebml/libebml.SlackBuild

1
l/libebml/libebml-1.3.4.tar.bz2.sha1

@ -1 +0,0 @@
27a505f7bcece68f57daa2704ebdacbddfa188b3 libebml-1.3.4.tar.bz2

1
l/libebml/libebml-1.3.9.tar.xz.sha256

@ -0,0 +1 @@
c6b6c6cd8b20a46203cb5dce636883aef68beb2846f1e4103b660a7da2c9c548 libebml-1.3.9.tar.xz

21
l/libebml/libebml.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008-2013,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2008-2013,2015,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,8 +26,8 @@
# Source package infos
NAMESRC=${NAMESRC:-libebml}
VERSION=${VERSION:-1.3.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
VERSION=${VERSION:-1.3.9}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://dl.matroska.org/downloads/libebml/$ARCHIVE}
# Built package infos
@ -75,7 +75,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -83,18 +83,19 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-static
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=yes \
..
make -j $JOBS
make install-strip DESTDIR=$PKG
make install/strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 ChangeLog LICENSE.LGPL $PKG/usr/doc/$NAME
install -m 644 ../ChangeLog ../LICENSE.LGPL ../README.md $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save