Recipe cosmetics. Improved SUMMARY/DESCRIPTION, re-ordered blocks.

This commit is contained in:
Humdinger
2015-08-28 17:15:00 +02:00
parent a7553e5136
commit f5b71b546d
25 changed files with 405 additions and 441 deletions

View File

@@ -1,13 +1,15 @@
SUMMARY="An open-source C-Library for JPEG 2000"
DESCRIPTION="The OpenJPEG library is an open-source JPEG 2000 codec written in C language. \
It has been developed in order to promote the use of JPEG 2000, the new \
still-image compression standard from the Joint Photographic Experts Group \
(JPEG). In addition to the basic codec, various other features are under \
development, among them the JP2 and MJ2 (Motion JPEG 2000) file formats, an \
indexing tool useful for the JPIP protocol, JPWL-tools for error-resilience, \
a Java-viewer for j2k-images."
DESCRIPTION="The OpenJPEG library is an open-source JPEG 2000 codec written \
in C language. It has been developed in order to promote the use of JPEG \
2000, the new still-image compression standard from the Joint Photographic \
Experts Group (JPEG).
In addition to the basic codec, various other features are under development, \
among them the JP2 and MJ2 (Motion JPEG 2000) file formats, an indexing tool \
useful for the JPIP protocol, JPWL-tools for error-resilience, a Java-viewer \
for j2k-images."
HOMEPAGE="http://www.openjpeg.org/"
COPYRIGHT="2002-2012, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium
COPYRIGHT="2002-2012, Communications and Remote Sensing Laboratory, \
Universite catholique de Louvain (UCL), Belgium
2002-2012 Professor Benoit Macq
2003-2012 Antonin Descampe
2003-2009 Francois-Olivier Devaux
@@ -29,37 +31,34 @@ PROVIDES="
cmd:opj_dump = $portVersion
lib:libopenjp2$secondaryArchSuffix = 7 compat >= 7
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libtiff$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libtiff$secondaryArchSuffix
"
#needs devel:libtiff too but that isn't provided by anything
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:cmake
cmd:make
cmd:gcc$secondaryArchSuffix
"
PROVIDES_devel="
openjpeg${secondaryArchSuffix}_devel = $portVersion
devel:libopenjp2$secondaryArchSuffix = $portVersion compat >= 7
"
REQUIRES_devel="
openjpeg$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libz$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libtiff$secondaryArchSuffix
"
#needs devel:libtiff too but that isn't provided by anything
BUILD_PREREQUIRES="
cmd:cmake
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
mkdir -p build