wok view magnifier/receipt @ rev 25322
cpige: remove -static
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 07:58:08 2022 +0000 (2022-07-22) |
parents | 9c5333f3023a |
children | 7dd01dedad38 |
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="http://magnifier.sourceforge.net/"
12 WGET_URL="http://downloads.sourceforge.net/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 }