mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
libpng12: bump to 1.2.57, drop libtool files. (#980)
This commit is contained in:
@@ -7,22 +7,25 @@ This is libpng 1.2, an older version which may be needed for compatibility \
|
|||||||
with BeOS application. For new developments please use the current libpng \
|
with BeOS application. For new developments please use the current libpng \
|
||||||
package."
|
package."
|
||||||
HOMEPAGE="http://www.libpng.org/"
|
HOMEPAGE="http://www.libpng.org/"
|
||||||
COPYRIGHT="1998-2015 Glenn Randers-Pehrson
|
COPYRIGHT="1998-2016 Glenn Randers-Pehrson
|
||||||
1996-1997 Andreas Dilger
|
1996-1997 Andreas Dilger
|
||||||
1995-1996 Guy Eric Schalnat, Group 42 Inc."
|
1995-1996 Guy Eric Schalnat, Group 42 Inc."
|
||||||
LICENSE="LibPNG"
|
LICENSE="LibPNG"
|
||||||
REVISION="3"
|
REVISION="1"
|
||||||
SOURCE_URI="http://prdownloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
SOURCE_URI="http://downloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="0366f932883084a6972efa8eadfaa5584e94a7c9c8682a49590759951518801f"
|
CHECKSUM_SHA256="09ec37869fc5b130f5eb06ffb9bf949796e8d2d78e0788f78ab1c78624c6e9da"
|
||||||
SOURCE_DIR="libpng-$portVersion"
|
SOURCE_DIR="libpng-$portVersion"
|
||||||
|
|
||||||
ARCHITECTURES="x86_gcc2"
|
ARCHITECTURES="x86_gcc2"
|
||||||
SECONDARY_ARCHITECTURES="x86_gcc2"
|
SECONDARY_ARCHITECTURES="x86_gcc2"
|
||||||
|
|
||||||
|
# define libVersion as 3.z.0 when portVersion is 1.2.z.
|
||||||
|
libVersion="3.${portVersion#1\.2\.}.0"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
libpng12$secondaryArchSuffix = $portVersion compat >= 1.2
|
libpng12$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||||
lib:libpng$secondaryArchSuffix = 3.56.0 compat >= 3
|
lib:libpng$secondaryArchSuffix = $libVersion compat >= 3
|
||||||
lib:libpng12$secondaryArchSuffix = 3.56.0 compat >= 3
|
lib:libpng12$secondaryArchSuffix = $libVersion compat >= 3
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
@@ -33,8 +36,8 @@ PROVIDES_devel="
|
|||||||
libpng12${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
libpng12${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
||||||
cmd:libpng_config$secondaryArchSuffix = $portVersion compat >= 1.2
|
cmd:libpng_config$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||||
cmd:libpng12_config$secondaryArchSuffix = $portVersion compat >= 1.2
|
cmd:libpng12_config$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||||
devel:libpng$secondaryArchSuffix = 3.56.0 compat >= 3
|
devel:libpng$secondaryArchSuffix = $libVersion compat >= 3
|
||||||
devel:libpng12$secondaryArchSuffix = 3.56.0 compat >= 3
|
devel:libpng12$secondaryArchSuffix = $libVersion compat >= 3
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
libpng12$secondaryArchSuffix == $portVersion base
|
libpng12$secondaryArchSuffix == $portVersion base
|
||||||
@@ -71,6 +74,8 @@ INSTALL()
|
|||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
rm $libDir/libpng*.la
|
||||||
|
|
||||||
prepareInstalledDevelLibs libpng libpng12
|
prepareInstalledDevelLibs libpng libpng12
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
Reference in New Issue
Block a user