Files
haikuports/dev-libs/mini-xml/mini_xml-2.6.recipe
Jerome Duval 54f1fa8771 mini-xml: move from dev-cpp to dev-libs.
* rename from mxml to mini_xml.
2016-08-02 23:21:45 +02:00

64 lines
1.5 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="1"
SOURCE_URI="http://www.msweet.org/files/project3/mxml-$portVersion.tar.gz"
CHECKSUM_SHA256="b0d347da1a0d5a8c9e82f66087d55cfe499728dacae563740d7e733648c69795"
SOURCE_DIR="mxml-$portVersion"
PATCHES="mini_xml-$portVersion.patch"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
mini_xml$secondaryArchSuffix = $portVersion
cmd:mxmldoc
lib:mxml$secondaryArchSuffix = 1.4 compat >= 1
lib:libmxml$secondaryArchSuffix = 1.4 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
mini_xml${secondaryArchSuffix}_devel = $portVersion
devel:mxml$secondaryArchSuffix = 1.4 compat >= 1
devel:libmxml$secondaryArchSuffix = 1.4 compat >= 1
"
REQUIRES_devel="
mini_xml$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
BUILD()
{
runConfigure ./configure --enable-shared
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libmxml
fixPkgconfig
packageEntries devel \
$developDir $dataDir $manDir/man3
}