mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
61 lines
1.3 KiB
Bash
61 lines
1.3 KiB
Bash
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="http://www.minixml.org/index.php"
|
|
COPYRIGHT="2003-2014 Michael R Sweet"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://www.msweet.org/files/project3/mxml-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="b0d347da1a0d5a8c9e82f66087d55cfe499728dacae563740d7e733648c69795"
|
|
PATCHES="mxml-$portVersion.patch"
|
|
|
|
ARCHITECTURES="x86_gcc2"
|
|
SECONDARY_ARCHITECTURES=""
|
|
|
|
PROVIDES="
|
|
mxml$secondaryArchSuffix = $portVersion
|
|
lib:mxml$secondaryArchSuffix = 1.4 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
mxml${secondaryArchSuffix}_devel = $portVersion
|
|
devel:mxml$secondaryArchSuffix = 1.4 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
mxml$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:autoconf
|
|
cmd:mkdepend
|
|
cmd:gcc${secondaryArchSuffix}
|
|
cmd:ld${secondaryArchSuffix}
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --enable-shared
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
fixPkgconfig
|
|
prepareInstalledDevelLibs \
|
|
libmxml
|
|
packageEntries devel \
|
|
$developDir $dataDir $manDir/man3
|
|
}
|