mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
libpng*: bump versions.
This commit is contained in:
78
media-libs/libpng/libpng-1.5.22.recipe
Normal file
78
media-libs/libpng/libpng-1.5.22.recipe
Normal file
@@ -0,0 +1,78 @@
|
||||
SUMMARY="Portable Network Graphics library"
|
||||
DESCRIPTION="
|
||||
libpng is the official PNG reference library. It supports almost all PNG \
|
||||
features, is extensible, and has been extensively tested for over 17 years
|
||||
"
|
||||
HOMEPAGE="http://www.libpng.org"
|
||||
COPYRIGHT="
|
||||
1998-2011 Glenn Randers-Pehrson
|
||||
1996-1997 Andreas Dilger
|
||||
1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
"
|
||||
LICENSE="LibPNG"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ebb5f90dbe27a00472db33b16e5a8ad81ce66889b7d801ec0ab2a19781bfc92c"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libpng$secondaryArchSuffix = $portVersion compat >= 1.5
|
||||
lib:libpng$secondaryArchSuffix = 15.22.0 compat >= 15
|
||||
lib:libpng15$secondaryArchSuffix = 15.22.0 compat >= 15
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libz$secondaryArchSuffix >= 1.0.4
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
libtoolize --force --copy --install
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -Rf $manDir/man5
|
||||
|
||||
prepareInstalledDevelLibs libpng libpng15
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$binDir \
|
||||
$developDir \
|
||||
$manDir/man3
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libpng${secondaryArchSuffix}_devel = $portVersion compat >= 1.5
|
||||
cmd:libpng_config$secondaryArchSuffix = $portVersion compat >= 1.5
|
||||
cmd:libpng15_config$secondaryArchSuffix = $portVersion compat >= 1.5
|
||||
devel:libpng$secondaryArchSuffix = 15.22.0 compat >= 15
|
||||
devel:libpng15$secondaryArchSuffix = 15.22.0 compat >= 15
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libpng$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user