wok rev 24485

updated djview (4.10.6 -> 4.12)
author Hans-G?nter Theisgen
date Fri Feb 18 16:41:03 2022 +0100 (2022-02-18)
parents 0beaafd8d345
children 90e94ef08776
files djview/description.txt djview/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/djview/description.txt	Fri Feb 18 16:41:03 2022 +0100
     1.3 @@ -0,0 +1,5 @@
     1.4 +DjVu is a web-centric format for distributing documents and images.
     1.5 +DjVu was created at AT&T Labs-Research and later sold to LizardTech Inc.
     1.6 +DjVuLibre is a GPL implementation of DjVu maintained by the original
     1.7 +inventors of DjVu.
     1.8 +DjView is a DjVu viewer.
     2.1 --- a/djview/receipt	Fri Feb 18 15:45:33 2022 +0100
     2.2 +++ b/djview/receipt	Fri Feb 18 16:41:03 2022 +0100
     2.3 @@ -1,18 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="djview"
     2.7 -VERSION="4.10.6"
     2.8 +VERSION="4.12"
     2.9  CATEGORY="graphics"
    2.10  SHORT_DESC="Djvu files viewer."
    2.11  MAINTAINER="psychomaniak@xakep.ru"
    2.12  LICENSE="GPL2"
    2.13 -WEB_SITE="http://djvu.sourceforge.net/"
    2.14 +WEB_SITE="https://sourceforge.net/projects/djvu/"
    2.15  
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WGET_URL="https://sourceforge.net/projects/djvu/files/DjView/${VERSION%.*}/$TARBALL"
    2.18 +WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    2.19  
    2.20  DEPENDS="djvulibre libQtGui libQtNetwork libQtOpenGL"
    2.21 -BUILD_DEPENDS="djvulibre-dev file mesa-dev qmake Qt4-dev"
    2.22 +BUILD_DEPENDS="autoconf automake djvulibre-dev file libtool mesa-dev
    2.23 +	qmake Qt4-dev"
    2.24  
    2.25  # What is the latest version available today?
    2.26  current_version()
    2.27 @@ -25,8 +26,7 @@
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31 -	./configure
    2.32 -	sed -i 's/-O2/-Os/g' src/Makefile
    2.33 +	./autogen.sh &&
    2.34  	make &&
    2.35  	make install
    2.36  }
    2.37 @@ -35,10 +35,11 @@
    2.38  genpkg_rules()
    2.39  {
    2.40  	cp -a $install/*	$fs
    2.41 +	rm -rf			$fs/usr/lib/*/*/*.la
    2.42 +	rm -rf			$fs/usr/share/man
    2.43  	ln -s djview		$fs/usr/bin/djview4
    2.44  	cd $fs/usr/share/icons/hicolor/32x32/
    2.45  	mv mime* apps
    2.46  	rm -rf			../64x64
    2.47  	rm -rf			../scalable
    2.48 -	rm -rf			$fs/usr/lib/*/*/*.la
    2.49  }