wok-current diff djview/receipt @ rev 24556

updated flatpress (0.1010.2 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Feb 25 14:05:00 2022 +0100 (2022-02-25)
parents 370da83187ab
children 00bff3684d8a
line diff
     1.1 --- a/djview/receipt	Fri Feb 04 09:24:50 2022 +0000
     1.2 +++ b/djview/receipt	Fri Feb 25 14:05:00 2022 +0100
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="djview"
     1.7 -VERSION="4.10.6"
     1.8 +VERSION="4.12"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Djvu files viewer."
    1.11  MAINTAINER="psychomaniak@xakep.ru"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://djvu.sourceforge.net/"
    1.14 +WEB_SITE="https://sourceforge.net/projects/djvu/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="https://sourceforge.net/projects/djvu/files/DjView/${VERSION%.*}/$TARBALL"
    1.18 +WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    1.19  
    1.20  DEPENDS="djvulibre libQtGui libQtNetwork libQtOpenGL"
    1.21 -BUILD_DEPENDS="djvulibre-dev file mesa-dev qmake Qt4-dev"
    1.22 +BUILD_DEPENDS="autoconf automake djvulibre-dev file libtool mesa-dev
    1.23 +	qmake Qt4-dev"
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -25,8 +26,7 @@
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	./configure
    1.32 -	sed -i 's/-O2/-Os/g' src/Makefile
    1.33 +	./autogen.sh &&
    1.34  	make &&
    1.35  	make install
    1.36  }
    1.37 @@ -35,10 +35,11 @@
    1.38  genpkg_rules()
    1.39  {
    1.40  	cp -a $install/*	$fs
    1.41 +	rm -rf			$fs/usr/lib/*/*/*.la
    1.42 +	rm -rf			$fs/usr/share/man
    1.43  	ln -s djview		$fs/usr/bin/djview4
    1.44  	cd $fs/usr/share/icons/hicolor/32x32/
    1.45  	mv mime* apps
    1.46  	rm -rf			../64x64
    1.47  	rm -rf			../scalable
    1.48 -	rm -rf			$fs/usr/lib/*/*/*.la
    1.49  }