mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
89 lines
2.3 KiB
Plaintext
89 lines
2.3 KiB
Plaintext
SUMMARY="A PNG-like Image Format Supporting Multiple Image, Animation and Transparent JPEG"
|
|
DESCRIPTION="A PNG-like Image Format Supporting Multiple Image, Animation and Transparent JPEG"
|
|
HOMEPAGE="http://www.libmng.com"
|
|
COPYRIGHT="2000-2007 Gerard Juyn"
|
|
LICENSE="LIBMNG"
|
|
SRC_URI="http://prdownloads.sourceforge.net/libmng/libmng-1.0.10.tar.gz?download"
|
|
CHECKSUM_MD5="a464ae7d679781beebdf7440d144b7bd"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="?x86_gcc2 ?x86"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
libpng$secondaryArchSuffix = $portVersion compat >= 1.0
|
|
lib:libpng$secondaryArchSuffix = 15.12.0 compat >= 1.0
|
|
lib:libpng15$secondaryArchSuffix = 15.12.0 compat >= 1.0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
devel:libz$secondaryArchSuffix >= 1.0.4
|
|
libpng >= 1.5
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake == 1.12
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cp unmaintained/autogen.sh .
|
|
cp makefiles/configure.in configure.ac
|
|
cp makefiles/Makefile.am .
|
|
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
./autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
|
|
## libtoolize --force --copy --install
|
|
## aclocal
|
|
## ./autogen.sh
|
|
# ./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
|
# LDFLAGS=-L/boot/common/lib \
|
|
# CPPFLAGS=-I/boot/common/include
|
|
## MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
|
## LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
|
## ./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
|
## --libdir=$LIBDIR \
|
|
## --mandir=$MANDIR
|
|
## make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# prepareInstalledDevelLibs libmng libmng1
|
|
# fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$binDir \
|
|
$developDir \
|
|
$manDir/man3
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libmng${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
|
|
cmd:libmng_config$secondaryArchSuffix = $portVersion compat >= 1.0
|
|
# cmd:libmng1_config$secondaryArchSuffix = $portVersion compat >= 1.0
|
|
# devel:libmng$secondaryArchSuffix = 10.0 compat >= 15
|
|
# devel:libmng15$secondaryArchSuffix = 10.0 compat >= 15
|
|
"
|
|
REQUIRES_devel="
|
|
libmng$secondaryArchSuffix == $portVersion base
|
|
"
|