summaryrefslogtreecommitdiff
path: root/libraries/libdvdcss/libdvdcss.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:23:51 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:23:51 +0200
commit1bdcf5d781984cd22869c5d01d56f2a928b64eda (patch)
tree3095b4d15d0b279c881aa17a26254e2a253ae8c7 /libraries/libdvdcss/libdvdcss.SlackBuild
parentb5abadfb55bf95e95564383cc515023a6e6ee1ba (diff)
downloadslackbuilds-1bdcf5d781984cd22869c5d01d56f2a928b64eda.tar.gz
libraries/libdvdcss: Updated for version 1.2.10
Diffstat (limited to 'libraries/libdvdcss/libdvdcss.SlackBuild')
-rw-r--r--libraries/libdvdcss/libdvdcss.SlackBuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/libraries/libdvdcss/libdvdcss.SlackBuild b/libraries/libdvdcss/libdvdcss.SlackBuild
index 4a1b5b99bc..9c8f89f482 100644
--- a/libraries/libdvdcss/libdvdcss.SlackBuild
+++ b/libraries/libdvdcss/libdvdcss.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libdvdcss
-# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libdvdcss
-VERSION=1.2.9
+VERSION=1.2.10
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -41,7 +42,7 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
@@ -53,26 +54,23 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix build error on docs with patch from Gentoo
-# Thanks to XGizzmo for sending the link :)
-patch -p1 < $CWD/libdvdcss-1.2.9-latex-character-encoding.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared=yes \
- --enable-static=no
+ --enable-static=no \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS README ChangeLog \