mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
jasper1: Deprecate and remove.
This commit is contained in:
@@ -1,103 +0,0 @@
|
||||
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/~frodo/jasper/"
|
||||
COPYRIGHT="1999-2007 Michael D. Adams"
|
||||
LICENSE="JasPer v2"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://www.ece.uvic.ca/~frodo/jasper/software/jasper-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d5082e14a50a7e461863991a8e932fc06a1b2f2688108c4478c400c39e257ebb"
|
||||
SOURCE_DIR="jasper-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
jasper1$secondaryArchSuffix = $portVersion compat >= 1.0.0
|
||||
lib:libjasper$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
jasper1${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libjasper$secondaryArchSuffix = 1.0.0 compat >=1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
jasper1$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
jasper${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
SUMMARY_tools="The jasper tools"
|
||||
PROVIDES_tools="
|
||||
jasper1${secondaryArchSuffix}_tools = $portVersion
|
||||
cmd:imgcmp$secondaryArchSuffix = $portVersion
|
||||
cmd:imginfo$secondaryArchSuffix = $portVersion
|
||||
cmd:jasper$secondaryArchSuffix = $portVersion
|
||||
cmd:tmrdemo$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_tools="
|
||||
jasper1$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
CONFLICTS_tools="
|
||||
jasper${secondaryArchSuffix}_tools
|
||||
"
|
||||
fi
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:chmod
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
chmod +x ./configure
|
||||
runConfigure ./configure --enable-shared
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libjasper.la
|
||||
|
||||
prepareInstalledDevelLibs libjasper
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user