diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2022-09-24 23:10:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-09-24 23:10:51 +0700 |
commit | 3cdf492a249e0693614cc03244351663a391d91c (patch) | |
tree | 17d98aee142ba649ca9e733570060a80b713b8ff /office/minidjvu | |
parent | b7fa7fd8c54ca18bd11c7bb98d65c61531531628 (diff) |
office/minidjvu: Updated for version 20210826_2202ebc.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/minidjvu')
-rw-r--r-- | office/minidjvu/minidjvu.SlackBuild | 25 | ||||
-rw-r--r-- | office/minidjvu/minidjvu.info | 6 |
2 files changed, 15 insertions, 16 deletions
diff --git a/office/minidjvu/minidjvu.SlackBuild b/office/minidjvu/minidjvu.SlackBuild index 5a76153d32233..89fa01462243c 100644 --- a/office/minidjvu/minidjvu.SlackBuild +++ b/office/minidjvu/minidjvu.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for minidjvu -# Copyright 2015-2016 Alexander Verbovetsky, Moscow, Russia +# Copyright 2015-2022 Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,10 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=minidjvu -VERSION=${VERSION:-0.8.svn.2010.05.06} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.8.svn.2010.05.06_20210826_2202ebc} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +COMMIT=2202ebc8eac5804521bd943fe65b8453d0ceb7d9 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -69,9 +67,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM\_$VERSION.orig.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$COMMIT +tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz +cd $PRGNAM-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,17 +77,18 @@ 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 {} \; -patch -p1 < $CWD/minidjvu.patch - +autoreconf --install CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --mandir=/usr/man \ --enable-static=no \ --build=$ARCH-slackware-linux -make -j1 +make make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -99,7 +98,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild rm -f $PKG/usr/lib*/*.la diff --git a/office/minidjvu/minidjvu.info b/office/minidjvu/minidjvu.info index dae3f1cb1f5fc..ad650f44a9d52 100644 --- a/office/minidjvu/minidjvu.info +++ b/office/minidjvu/minidjvu.info @@ -1,8 +1,8 @@ PRGNAM="minidjvu" -VERSION="0.8.svn.2010.05.06" +VERSION="0.8.svn.2010.05.06_20210826_2202ebc" HOMEPAGE="http://minidjvu.sourceforge.net" -DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/minidjvu/minidjvu_0.8.svn.2010.05.06.orig.tar.gz" -MD5SUM="c29f5c86267824f6c9047f2759a4ad5f" +DOWNLOAD="https://github.com/barak/minidjvu/archive/2202ebc/minidjvu-2202ebc8eac5804521bd943fe65b8453d0ceb7d9.tar.gz" +MD5SUM="cb565dc8028b4cd1fc3357f9c54d7650" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |