SUMMARY="Minimum XML Library" DESCRIPTION="Mini-XML is a small XML parsing library that you can \ use to read XML and XML-like data files in your application without \ requiring large non-standard libraries." HOMEPAGE="https://www.msweet.org/mxml/ https://github.com/michaelrsweet/mxml" COPYRIGHT="2003-2019 Michael R Sweet" LICENSE="Mini-XML Apache v2 GNU LGPL v2" REVISION="3" SOURCE_URI="https://github.com/michaelrsweet/mxml/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="0a50cbb42ad078e51589208997858c8d86ea95f255d61e4af5b3d635d2659603" SOURCE_FILENAME="mxml-v$portVersion.tar.gz" PATCHES="mxml-$portVersion.patchset" ARCHITECTURES="all ?x86_gcc2" SECONDARY_ARCHITECTURES="?x86_gcc2 x86" libVersion="1.6" libVersionCompat="$libVersion compat >= ${libVersion%.*}" PROVIDES=" mxml$secondaryArchSuffix = $portVersion cmd:mxmldoc$secondaryArchSuffix = $portVersion lib:libmxml$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" mxml${secondaryArchSuffix}_devel = $portVersion devel:libmxml$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" mxml${secondaryArchSuffix}_devel == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:autoconf cmd:gcc${secondaryArchSuffix} cmd:libtoolize$secondaryArchSuffix cmd:make cmd:mkdepend " defineDebugInfoPackage mxml$secondaryArchSuffix \ "$libDir"/libmxml.so.$libVersion BUILD() { libtoolize -fci autoconf runConfigure ./configure --enable-shared make $jobArgs } INSTALL() { make install # remove static library rm $libDir/libmxml.a prepareInstalledDevelLibs libmxml fixPkgconfig packageEntries devel \ $developDir \ $manDir }