diff options
author | Erik Hanson <erik@slackbuilds.org> | 2020-05-12 00:28:06 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-16 08:44:20 +0700 |
commit | bd78e19b1a115d42f6f3f5690d6eca98fd26fab9 (patch) | |
tree | ee54b466e52ea5daa1ea21ed9e81e224199c48ed /audio/ocp/ocp.SlackBuild | |
parent | 9c87c39c3931301a98fb70cde283506333f7a937 (diff) | |
download | slackbuilds-bd78e19b1a115d42f6f3f5690d6eca98fd26fab9.tar.gz |
audio/ocp: Updated for version 0.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ocp/ocp.SlackBuild')
-rw-r--r-- | audio/ocp/ocp.SlackBuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/audio/ocp/ocp.SlackBuild b/audio/ocp/ocp.SlackBuild index 523d4638c8..eeef8745b6 100644 --- a/audio/ocp/ocp.SlackBuild +++ b/audio/ocp/ocp.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for Open Cubic Player # -# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009-2020 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=${VERSION:-0.1.21} +VERSION=${VERSION:-0.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,9 +69,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i "s/0.1.20/0.1.21/g" configure -sed -i "4592c2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*|5.*)" configure - CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -81,18 +78,17 @@ CFLAGS="$SLKCFLAGS" \ --infodir=/usr/info \ --build=$ARCH-slackware-linux -make -j1 +make # -j1 make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -mv $PKG/usr/share/ocp/ultradir $PKG/usr/share/$PRGNAM-$VERSION -rmdir $PKG/usr/share/ocp - rm -f $PKG/usr/info/dir -mv $PKG/usr/share/doc $PKG/usr +mkdir -p $PKG/usr/doc +mv $PKG/usr/share/doc/ocp $PKG/usr/doc/$PRGNAM-$VERSION +rmdir $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |