wok-current view magnifier/receipt @ rev 25687

Up expat CVE-2024-28757
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 15 07:23:20 2024 +0000 (9 months ago)
parents 7dd01dedad38
children
line source
1 # SliTaz package receipt.
3 PACKAGE="magnifier"
4 VERSION="3.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Virtual magnifying glass"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="magnifier-linux"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://magnifier.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/magnifier/$TARBALL"
14 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
16 xorg-libXrandr xorg-libXrender xorg-libXdamage"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/magnifier/files/magnifier%20for%20Linux/ 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|.*/magnifier%20for%20Linux/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 ./install.sh DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
39 cp $install/usr/share/magnifier/icon3.ico $fs/usr/share/pixmaps/icon3.png
40 }