wok-current annotate 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 |
rev | line source |
---|---|
paul@1157 | 1 # SliTaz package receipt. |
paul@1157 | 2 |
paul@1157 | 3 PACKAGE="magnifier" |
paul@17291 | 4 VERSION="3.5" |
paul@1157 | 5 CATEGORY="utilities" |
paul@1157 | 6 SHORT_DESC="Virtual magnifying glass" |
paul@1157 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15610 | 8 LICENSE="GPL2" |
paul@1157 | 9 SOURCE="magnifier-linux" |
paul@1157 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@25460 | 11 WEB_SITE="https://magnifier.sourceforge.net/" |
pascal@25465 | 12 WGET_URL="$SF_MIRROR/magnifier/$TARBALL" |
paul@1157 | 13 |
pascal@15610 | 14 DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pascal@15610 | 15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ |
pascal@15610 | 16 xorg-libXrandr xorg-libXrender xorg-libXdamage" |
pascal@15610 | 17 |
pascal@24361 | 18 # What is the latest version available today? |
pascal@24361 | 19 current_version() |
pascal@24361 | 20 { |
pascal@24361 | 21 wget -O - https://sourceforge.net/projects/magnifier/files/magnifier%20for%20Linux/ 2>/dev/null | \ |
pascal@24361 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 23 sed '/scope="row/!d;s|.*/magnifier%20for%20Linux/||;s|/.*||;q' |
pascal@24361 | 24 } |
pascal@24361 | 25 |
paul@1157 | 26 # Rules to configure and make the package. |
paul@1157 | 27 compile_rules() |
paul@1157 | 28 { |
paul@1157 | 29 cd $src |
pascal@15602 | 30 ./install.sh DESTDIR=$DESTDIR install |
paul@1157 | 31 } |
paul@1157 | 32 |
paul@1157 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1157 | 34 genpkg_rules() |
paul@1157 | 35 { |
paul@1157 | 36 mkdir -p $fs/usr/share/pixmaps |
pascal@15603 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15603 | 38 cp -a $install/usr/share $fs/usr |
pascal@15603 | 39 cp $install/usr/share/magnifier/icon3.ico $fs/usr/share/pixmaps/icon3.png |
paul@1157 | 40 } |
paul@1157 | 41 |