Files
haikuports/media-libs/jasper/jasper-1.900.1.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

99 lines
2.4 KiB
Plaintext

SUMMARY="Implementation of the codec specified in the JPEG-2000 Part-1 standard"
DESCRIPTION="
The JasPer Project is an open-source initiative to provide a free \
software-based reference implementation of the codec specified in the \
JPEG-2000 Part-1 standard. More details about this software can be found in \
the JasPer Software Reference Manual.
"
HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/"
SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.900.1.zip"
CHECKSUM_SHA256="6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494"
REVISION="4"
LICENSE="JasPer v2"
COPYRIGHT="1999-2007 Michael D. Adams"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="jasper-$portVersion.patchset"
PROVIDES="
jasper$secondaryArchSuffix = $portVersion compat >= 1.0.0
lib:libjasper$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:mkdepend
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:chmod
"
BUILD()
{
autoreconf -fi
chmod +x ./configure
runConfigure ./configure --enable-shared
make
}
INSTALL()
{
make install
prepareInstalledDevelLibs libjasper
# devel package
packageEntries devel \
$developDir
# tools package
if [ -z "$secondaryArchSuffix" ]; then
packageEntries tools \
$binDir \
$documentationDir
fi
# Remove stuff we don't need in the secondary architecture base package.
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $binDir
rm -rf $documentationDir
fi
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
jasper${secondaryArchSuffix}_devel = $portVersion
devel:libjasper$secondaryArchSuffix = 1.0.0 compat >=1
"
REQUIRES_devel="
jasper$secondaryArchSuffix == $portVersion base
"
# ----- tools package -------------------------------------------------------
if [ -z "$secondaryArchSuffix" ]; then
SUMMARY_tools="The jasper tools"
PROVIDES_tools="
jasper_tools$secondaryArchSuffix = $portVersion
cmd:imgcmp$secondaryArchSuffix = $portVersion
cmd:imginfo$secondaryArchSuffix = $portVersion
cmd:jasper$secondaryArchSuffix = $portVersion
cmd:tmrdemo$secondaryArchSuffix = $portVersion
"
REQUIRES_tools="
jasper$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
"
fi