# HG changeset patch # User Hans-G?nter Theisgen # Date 1579005585 -3600 # Node ID 5a6a003000d9154d2915cd5db1edee73f9c89b17 # Parent 8e41c082cb017c7fc73668830adee7ab559ede04 updated djview (4.10.3 -> 4.10.6) diff -r 8e41c082cb01 -r 5a6a003000d9 djview/receipt --- a/djview/receipt Tue Jan 14 11:29:20 2020 +0100 +++ b/djview/receipt Tue Jan 14 13:39:45 2020 +0100 @@ -1,23 +1,24 @@ # SliTaz package receipt. PACKAGE="djview" -VERSION="4.10.3" +VERSION="4.10.6" CATEGORY="graphics" -SHORT_DESC="Djvu files viewer" +SHORT_DESC="Djvu files viewer." MAINTAINER="psychomaniak@xakep.ru" LICENSE="GPL2" WEB_SITE="http://djvu.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/djvu/$TARBALL" +WGET_URL="https://sourceforge.net/projects/djvu/filea/DjView/${VERSION%.*}/$TARBALL" -DEPENDS="libQtGui libQtNetwork libQtOpenGL djvulibre" -BUILD_DEPENDS="qmake Qt4-dev djvulibre-dev gzip wget mesa-dev file" +DEPENDS="djvulibre libQtGui libQtNetwork libQtOpenGL" +BUILD_DEPENDS="djvulibre-dev file mesa-dev qmake Qt4-dev" # Rules to configure and make the package. compile_rules() { ./configure - sed -i 's/-O2/-Os/g' $src/src/Makefile + sed -i 's/-O2/-Os/g' src/Makefile make && make install } @@ -25,9 +26,11 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs - ln -s djview $fs/usr/bin/djview4 + cp -a $install/* $fs + ln -s djview $fs/usr/bin/djview4 cd $fs/usr/share/icons/hicolor/32x32/ mv mime* apps - rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la + rm -rf ../64x64 + rm -rf ../scalable + rm -rf $fs/usr/lib/*/*/*.la }