summaryrefslogtreecommitdiffstats
path: root/audio/ocp/ocp.SlackBuild
diff options
context:
space:
mode:
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 \