libraries/openjpeg1: Renamed from openjpeg to avoid conflicts.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2015-04-22 17:06:30 +02:00 committed by Willy Sudiarto Raharjo
parent ecaab058cc
commit db8b2ec2a1
4 changed files with 22 additions and 21 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Slackware build script for openjpeg # Slackware build script for openjpeg1
# Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands # Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved. # All rights reserved.
@ -22,7 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openjpeg PRGNAM=openjpeg1
SRCNAM=openjpeg
VERSION=1.5.2 VERSION=1.5.2
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -59,9 +60,9 @@ set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $SRCNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -93,9 +94,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
cp -a INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION cp -a INSTALL README $PKG/usr/doc/$SRCNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,4 +1,4 @@
PRGNAM="openjpeg" PRGNAM="openjpeg1"
VERSION="1.5.2" VERSION="1.5.2"
HOMEPAGE="http://www.openjpeg.org" HOMEPAGE="http://www.openjpeg.org"
DOWNLOAD="http://downloads.sourceforge.net/openjpeg.mirror/openjpeg-1.5.2.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/openjpeg.mirror/openjpeg-1.5.2.tar.gz"

View file

@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also # You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
openjpeg: openjpeg (JPEG2000 Codec) openjpeg1: openjpeg1 (JPEG2000 Codec)
openjpeg: openjpeg1:
openjpeg: The OpenJPEG library is an open-source JPEG 2000 codec. openjpeg1: The OpenJPEG library is an open-source JPEG 2000 codec.
openjpeg: openjpeg1:
openjpeg: Homepage: http://www.openjpeg.org openjpeg1: Homepage: http://www.openjpeg.org
openjpeg: openjpeg1:
openjpeg: openjpeg1:
openjpeg: openjpeg1:
openjpeg: openjpeg1:
openjpeg: openjpeg1:
openjpeg: openjpeg1: