wok rev 22649

updated djview (4.10.3 -> 4.10.6)
author Hans-G?nter Theisgen
date Tue Jan 14 13:39:45 2020 +0100 (2020-01-14)
parents 8e41c082cb01
children b99ac3d4def2
files djview/receipt
line diff
     1.1 --- a/djview/receipt	Tue Jan 14 11:29:20 2020 +0100
     1.2 +++ b/djview/receipt	Tue Jan 14 13:39:45 2020 +0100
     1.3 @@ -1,23 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="djview"
     1.7 -VERSION="4.10.3"
     1.8 +VERSION="4.10.6"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="Djvu files viewer"
    1.11 +SHORT_DESC="Djvu files viewer."
    1.12  MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://djvu.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    1.18 +WGET_URL="https://sourceforge.net/projects/djvu/filea/DjView/${VERSION%.*}/$TARBALL"
    1.19  
    1.20 -DEPENDS="libQtGui libQtNetwork libQtOpenGL djvulibre"
    1.21 -BUILD_DEPENDS="qmake Qt4-dev djvulibre-dev gzip wget mesa-dev file"
    1.22 +DEPENDS="djvulibre libQtGui libQtNetwork libQtOpenGL"
    1.23 +BUILD_DEPENDS="djvulibre-dev file mesa-dev qmake Qt4-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	./configure
    1.29 -	sed -i 's/-O2/-Os/g' $src/src/Makefile
    1.30 +	sed -i 's/-O2/-Os/g' src/Makefile
    1.31  	make &&
    1.32  	make install
    1.33  }
    1.34 @@ -25,9 +26,11 @@
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	cp -a $install/* $fs
    1.39 -	ln -s djview $fs/usr/bin/djview4
    1.40 +	cp -a $install/*	$fs
    1.41 +	ln -s djview		$fs/usr/bin/djview4
    1.42  	cd $fs/usr/share/icons/hicolor/32x32/
    1.43  	mv mime* apps
    1.44 -	rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la
    1.45 +	rm -rf			../64x64
    1.46 +	rm -rf			../scalable
    1.47 +	rm -rf			$fs/usr/lib/*/*/*.la
    1.48  }