wok-current view djview/receipt @ rev 25659
Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Feb 18 10:03:28 2024 +0000 (10 months ago) |
parents | 00bff3684d8a |
children |
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://djvu.sourceforge.net/djview4.html"
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 }