mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +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 \
|
||||
package."
|
||||
HOMEPAGE="http://www.libpng.org/"
|
||||
COPYRIGHT="1998-2015 Glenn Randers-Pehrson
|
||||
COPYRIGHT="1998-2016 Glenn Randers-Pehrson
|
||||
1996-1997 Andreas Dilger
|
||||
1995-1996 Guy Eric Schalnat, Group 42 Inc."
|
||||
LICENSE="LibPNG"
|
||||
REVISION="3"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0366f932883084a6972efa8eadfaa5584e94a7c9c8682a49590759951518801f"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/libpng/libpng-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="09ec37869fc5b130f5eb06ffb9bf949796e8d2d78e0788f78ab1c78624c6e9da"
|
||||
SOURCE_DIR="libpng-$portVersion"
|
||||
|
||||
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="
|
||||
libpng12$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||
lib:libpng$secondaryArchSuffix = 3.56.0 compat >= 3
|
||||
lib:libpng12$secondaryArchSuffix = 3.56.0 compat >= 3
|
||||
lib:libpng$secondaryArchSuffix = $libVersion compat >= 3
|
||||
lib:libpng12$secondaryArchSuffix = $libVersion compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -33,8 +36,8 @@ PROVIDES_devel="
|
||||
libpng12${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
||||
cmd:libpng_config$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||
cmd:libpng12_config$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||
devel:libpng$secondaryArchSuffix = 3.56.0 compat >= 3
|
||||
devel:libpng12$secondaryArchSuffix = 3.56.0 compat >= 3
|
||||
devel:libpng$secondaryArchSuffix = $libVersion compat >= 3
|
||||
devel:libpng12$secondaryArchSuffix = $libVersion compat >= 3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libpng12$secondaryArchSuffix == $portVersion base
|
||||
@@ -71,6 +74,8 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libpng*.la
|
||||
|
||||
prepareInstalledDevelLibs libpng libpng12
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user