Added recipe for GraphicsMagick

This commit is contained in:
Kamil Krzyżanowski
2015-01-08 00:30:59 +00:00
parent d45a09a113
commit c5618f7be6

View File

@@ -0,0 +1,75 @@
SUMMARY="Collection of image processing tools"
HOMEPAGE="http://graphicsmagick.org"
COPYRIGHT="Copyright (C) 2002-2015 GraphicsMagick Group"
LICENSE="MIT"
SRC_URI="http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.20/GraphicsMagick-1.3.20.tar.gz"
CHECKSUM_SHA256="0f7463318f5d9a4b429655dd43642a7a93dae561360637093182fbf5ac4fdc88"
REVISION="1"
ARCHITECTURES="x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
SOURCE_DIR="GraphicsMagick-1.3.20"
PROVIDES="graphicsmagick$secondaryArchSuffix
cmd:gm$secondaryArchSuffix
cmd:GraphicsMagick++_config$secondaryArchSuffix
cmd:GraphicsMagick_config$secondaryArchSuffix
cmd:GraphicsMagickWand_config$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libtiff$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:liblcms2$secondaryArchSuffix
lib:libwebp$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libtiff$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:liblcms2$secondaryArchSuffix
devel:libwebp$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:awk
"
PROVIDES_devel="
graphicsmagick${secondaryArchSuffix}_devel
devel:libGraphicsMagick++$secondaryArchSuffix
devel:libGraphicsMagick$secondaryArchSuffix
devel:libGraphicsMagickWand$secondaryArchSuffix
"
REQUIRES_devel="
graphicsmagick$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libGraphicsMagick++ libGraphicsMagickWand libGraphicsMagick
packageEntries devel $developDir
}
DESCRIPTION="GraphicsMagick provides a set of command-line applications to manipulate
image files. It is a fork of the ImageMagick project and therefore offers
a similar set of features, but puts a larger emphasis on stability.
The tools support a large variety of image formats from the widely used
jpeg, tiff, bmp or xpm to special-purpose formats such as fits or image
formats found on some photo CDs. They can convert between formats,
concatenate several images into one, annotate and distort them, create
thumbnails or manipulate the colormap."