Browse Source

l/libmatroska: Upgraded to libmatroska-1.1.0.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
0469a9911b
  1. 1
      l/libmatroska/libmatroska-1.0.0.tar.bz2.sha1
  2. 1
      l/libmatroska/libmatroska-1.1.0.tar.bz2.sha1
  3. 14
      l/libmatroska/libmatroska.SlackBuild

1
l/libmatroska/libmatroska-1.0.0.tar.bz2.sha1

@ -1 +0,0 @@
1f58217968a081bd550ec06f2d6beb81a7a3ac68 libmatroska-1.0.0.tar.bz2

1
l/libmatroska/libmatroska-1.1.0.tar.bz2.sha1

@ -0,0 +1 @@
ffc7d0b757854f9eb8c32e51f2fedadc796ef617 libmatroska-1.1.0.tar.bz2

14
l/libmatroska/libmatroska.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-libmatroska}
VERSION=${VERSION:-1.0.0}
VERSION=${VERSION:-1.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://dl.matroska.org/downloads/libmatroska/$ARCHIVE}
@ -88,12 +88,12 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
make -j $JOBS -C make/linux libdir=/usr/lib$LIBDIRSUFFIX
make install -C make/linux prefix=$PKG/usr libdir=$PKG/usr/lib$LIBDIRSUFFIX
make sharedlib -j $JOBS -C make/linux libdir=/usr/lib$LIBDIRSUFFIX
make install_sharedlib install_headers -C make/linux \
prefix=$PKG/usr libdir=$PKG/usr/lib$LIBDIRSUFFIX
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Strip binary
strip --strip-unneeded $PKG/usr/lib$LIBDIRSUFFIX/libmatroska.so.3
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME

Loading…
Cancel
Save