mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
mini-xml: move from dev-cpp to dev-libs.
* rename from mxml to mini_xml.
This commit is contained in:
@@ -1,60 +0,0 @@
|
||||
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
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
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-2.9.tar.gz"
|
||||
CHECKSUM_SHA256="cded54653c584b24c4a78a7fa1b3b4377d49ac4f451ddf170ebbc8161d85ff92"
|
||||
SOURCE_DIR="mxml-2.9"
|
||||
PATCHES="mxml-2.9.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 !x86"
|
||||
|
||||
PROVIDES="
|
||||
mxml$secondaryArchSuffix = $portVersion
|
||||
lib:mxml$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
#PROVIDES_devel="
|
||||
# mxml${secondaryArchSuffix}_devel >= $portVersion
|
||||
# devel:mxml$secondaryArchSuffix >= $portVersion
|
||||
# "
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
#REQUIRES_devel="
|
||||
# haiku${secondaryArchSuffix}_devel
|
||||
# "
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
# cmd:aclocal
|
||||
# cmd:automake
|
||||
cmd:autoconf
|
||||
cmd:mkdepend
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:ld${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize -fci
|
||||
autoconf
|
||||
runConfigure ./configure --enable-shared
|
||||
sed -i "s|LIBS = -pthread|LIBS=|" $sourceDir/Makefile
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
# prepareInstalledDevelLibs \
|
||||
# libmxml
|
||||
# packageEntries devel \
|
||||
# $developDir
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,28 +0,0 @@
|
||||
From e15adf9b52db905f16349ecefa2785443d16fdfd Mon Sep 17 00:00:00 2001
|
||||
From: Derek Tse <arrestrose@gmail.com>
|
||||
Date: Sun, 18 Jan 2015 04:09:22 +0000
|
||||
Subject: Fixed configure
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index de1bf8b..7d3494d 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -207,6 +207,14 @@ if test x$enable_shared != xno; then
|
||||
DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
|
||||
LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
|
||||
;;
|
||||
+
|
||||
+ Haiku*)
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ LIBMXML="libmxml.so.1.5"
|
||||
+ DSO="\$(CC)"
|
||||
+ DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-R\$(libdir) -shared \$(OPTIM)"
|
||||
+ LDFLAGS="$LDFLAGS -Wl,-R\$(libdir)"
|
||||
+ ;;
|
||||
|
||||
Darwin*)
|
||||
AC_MSG_RESULT(yes)
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user