mxml: initial add 2.10

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2016-12-30 01:53:37 +01:00
parent 882cfa5b3e
commit 8a564b4dca
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
From b00ed2af82d4b046a6b8c53bd373ffe908866b0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 30 Dec 2016 00:30:59 +0100
Subject: [PATCH] avoid using binraies build - won't work in cross
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 92a490f..8217039 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -88,7 +88,7 @@ PUBLIBOBJS = mxml-attr.o mxml-entity.o mxml-file.o mxml-get.o \
mxml-index.o mxml-node.o mxml-search.o mxml-set.o
LIBOBJS = $(PUBLIBOBJS) mxml-private.o mxml-string.o
OBJS = mxmldoc.o testmxml.o $(LIBOBJS)
-TARGETS = $(LIBMXML) mxmldoc testmxml mxml.xml doc/mxml.man
+TARGETS = $(LIBMXML)
#
--
2.5.5

View File

@@ -0,0 +1,31 @@
SUMMARY = "Mini-XML is a small XML library"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=a6ba38606d63bb042c5d8cfee182e120"
DEPENDS = ""
SRC_URI = " \
http://www.msweet.org/files/project3/${BPN}-${PV}.tar.gz \
file://0001-avoid-testing-library-in-cross-environments.patch \
"
SRC_URI[md5sum] = "8804c961a24500a95690ef287d150abe"
SRC_URI[sha256sum] = "267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891"
inherit autotools-brokensep
do_configure() {
# reconfigure fails - have no idea why
oe_runconf
}
do_install() {
install -d ${D}${includedir}
install -m 644 mxml.h ${D}${includedir}
install -d ${D}${libdir}/pkgconfig
install -m 644 libmxml.so.1.5 ${D}${libdir}
ln -s libmxml.so.1.5 ${D}${libdir}/libmxml.so
ln -s libmxml.so.1.5 ${D}${libdir}/libmxml.so.1
install mxml.pc ${D}${libdir}/pkgconfig
}