Reintroduce a recipe for mxml 2.6

* commit 3e0dd2696c removed the bep file
  for 2.6 because there was a recipe for 2.9. However, that recipe was
  and still is incomplete, because the build crashes midway.
* Since 2.6 works just fine, we can use that until someone figures out
  why 2.9 is broken or if we can get 2.7 or 2.8 to work.
This commit is contained in:
Adrien Destugues
2015-11-12 16:34:06 +01:00
parent 3f7f9b27a0
commit a0ce60fea7
2 changed files with 1604 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
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
"
PROVIDES_devel="
mxml${secondaryArchSuffix}_devel = $portVersion
devel:mxml$secondaryArchSuffix = 1.4 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
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
}

File diff suppressed because it is too large Load Diff