mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
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:
62
dev-cpp/mxml/mxml-2.6.recipe
Normal file
62
dev-cpp/mxml/mxml-2.6.recipe
Normal 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
|
||||
}
|
||||
1542
dev-cpp/mxml/patches/mxml-2.6.patch
Normal file
1542
dev-cpp/mxml/patches/mxml-2.6.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user