aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdvdcss/libdvdcss.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:41:07 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:41:07 +0200
commit7f41e7b6d2dacef28aed7306aa59a63c78ec9d27 (patch)
treeece8dc5c3430232408740a0f7fce6f49a9bd75cf /libraries/libdvdcss/libdvdcss.SlackBuild
parent3f43fc0523a22cd1b5a189139ad6992e7c549696 (diff)
libraries/libdvdcss: Updated for version 1.2.10
Diffstat (limited to 'libraries/libdvdcss/libdvdcss.SlackBuild')
-rw-r--r--libraries/libdvdcss/libdvdcss.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/libdvdcss/libdvdcss.SlackBuild b/libraries/libdvdcss/libdvdcss.SlackBuild
index 9c8f89f482fe3..31db3b45766cf 100644
--- a/libraries/libdvdcss/libdvdcss.SlackBuild
+++ b/libraries/libdvdcss/libdvdcss.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libdvdcss
-# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -58,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \