wok-6.x view djview/receipt @ rev 24718

updated libarchive and libarchive-dev (3.4.2 -> 3.6.0)
author Hans-G?nter Theisgen
date Tue Mar 15 07:41:02 2022 +0100 (2022-03-15)
parents 370da83187ab
children 00bff3684d8a
line source
1 # SliTaz package receipt.
3 PACKAGE="djview"
4 VERSION="4.12"
5 CATEGORY="graphics"
6 SHORT_DESC="Djvu files viewer."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/djvu/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/djvu/$TARBALL"
14 DEPENDS="djvulibre libQtGui libQtNetwork libQtOpenGL"
15 BUILD_DEPENDS="autoconf automake djvulibre-dev file libtool mesa-dev
16 qmake Qt4-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/djvu/files/DjView/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/DjView/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -rf $fs/usr/lib/*/*/*.la
39 rm -rf $fs/usr/share/man
40 ln -s djview $fs/usr/bin/djview4
41 cd $fs/usr/share/icons/hicolor/32x32/
42 mv mime* apps
43 rm -rf ../64x64
44 rm -rf ../scalable
45 }