SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "graphicsmagick"

# SliTaz package receipt.

PACKAGE="graphicsmagick"
VERSION="1.3.37"
CATEGORY="graphics"
SHORT_DESC="The swiss army knife of image processing."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="http://www.graphicsmagick.org/"

SOURCE="GraphicsMagick"
TARBALL="$SOURCE-$VERSION.tar.xz"
WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="bzlib gcc-lib-base harfbuzz libgomp util-linux-uuid
    xorg-libICE xorg-libSM"
BUILD_DEPENDS="jpeg-dev util-linux-uuid-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)