summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authortitopoquito <titopoquito@gmail.com>2022-04-05 14:47:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:45:44 +0700
commita1c041020c51dffe83c5b7fefd4f838cddcd7b04 (patch)
tree9d3afe25378917e80639673c01d875e856fb09e9 /libraries
parent61dfc09ba93599fdff33a14661fe30538268bdaa (diff)
downloadslackbuilds-a1c041020c51dffe83c5b7fefd4f838cddcd7b04.tar.gz
libraries/libpano13: Updated for version 2.9.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libpano13/libpano13.SlackBuild32
-rw-r--r--libraries/libpano13/libpano13.info6
2 files changed, 21 insertions, 17 deletions
diff --git a/libraries/libpano13/libpano13.SlackBuild b/libraries/libpano13/libpano13.SlackBuild
index bf8c41a21a..52650b9443 100644
--- a/libraries/libpano13/libpano13.SlackBuild
+++ b/libraries/libpano13/libpano13.SlackBuild
@@ -5,6 +5,7 @@
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
# Modified 2011 for version 2.9.18 by titopoquito
+# Modified 2022 for version 2.9.21 by titopoquito
# (titopoquito@gmail.com)
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libpano13
-VERSION=${VERSION:-2.9.19}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.9.21}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,23 +82,26 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-gzip -9 $PKG/usr/man/man?/*.?
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/share/man $PKG/usr/
+gzip -9 $PKG/usr/man/man?/*.?
+mv $PKG/usr/share/pano13/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -r $PKG/usr/share
+
rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
diff --git a/libraries/libpano13/libpano13.info b/libraries/libpano13/libpano13.info
index aede5a48cc..8c08b3756b 100644
--- a/libraries/libpano13/libpano13.info
+++ b/libraries/libpano13/libpano13.info
@@ -1,8 +1,8 @@
PRGNAM="libpano13"
-VERSION="2.9.19"
+VERSION="2.9.21"
HOMEPAGE="http://panotools.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/panotools/libpano13-2.9.19.tar.gz"
-MD5SUM="1e4ce42f58a3f22c0a97d0b7a8e1dbb0"
+DOWNLOAD="http://downloads.sourceforge.net/panotools/libpano13-2.9.21.tar.gz"
+MD5SUM="e64f83e936a0e3319873d4d2c88e7209"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""