SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "magnifier"

# SliTaz package receipt.

PACKAGE="magnifier"
VERSION="3.5"
CATEGORY="utilities"
SHORT_DESC="Virtual magnifying glass"
MAINTAINER="paul@slitaz.org"
LICENSE="GPL2"
SOURCE="magnifier-linux"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="https://magnifier.sourceforge.net/"
WGET_URL="$SF_MIRROR/magnifier/$TARBALL"

DEPENDS="expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
xorg-libXrandr xorg-libXrender xorg-libXdamage"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/magnifier/files/magnifier%20for%20Linux/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/magnifier%20for%20Linux/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./install.sh DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/pixmaps
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share $fs/usr
    cp $install/usr/share/magnifier/icon3.ico $fs/usr/share/pixmaps/icon3.png
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)