summaryrefslogtreecommitdiff
path: root/audio/ocp/ocp.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-11-08 08:54:14 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-11-26 09:09:09 -0600
commit0ab4624d539aa9c9a4835d2198785548586b9a64 (patch)
tree7f93e2ff52c57b35ddc600f0255ac7d310290b1d /audio/ocp/ocp.SlackBuild
parented6ac81f7e026040e19ea530017fdd204007de23 (diff)
downloadslackbuilds-0ab4624d539aa9c9a4835d2198785548586b9a64.tar.gz
audio/ocp: Updated for version 0.1.21.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/ocp/ocp.SlackBuild')
-rw-r--r--audio/ocp/ocp.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/ocp/ocp.SlackBuild b/audio/ocp/ocp.SlackBuild
index 02b0282bcd..36e4087bc7 100644
--- a/audio/ocp/ocp.SlackBuild
+++ b/audio/ocp/ocp.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for Open Cubic Player
#
-# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ocp
-VERSION=0.1.20
+VERSION=0.1.21
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS -I/usr/include/SDL" \
+sed -i "s/0.1.20/0.1.21/g" configure
+
+CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -74,7 +76,7 @@ CFLAGS="$SLKCFLAGS -I/usr/include/SDL" \
--infodir=/usr/info \
--build=$ARCH-slackware-linux
-make
+make -j1
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \