Merged in kamnxt/haikuports (pull request #430)

Added recipe for GraphicsMagick
This commit is contained in:
Scott McCreary
2015-01-11 18:00:06 -08:00

View File

@@ -0,0 +1,76 @@
SUMMARY="Collection of image processing tools"
HOMEPAGE="http://www.graphicsmagick.org"
COPYRIGHT="2002-2014 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 = $portVersion
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 == $portVersion
"
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."