summaryrefslogtreecommitdiff
path: root/package/tinyxml
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-25 19:19:01 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-25 19:19:01 +0200
commitc6847d3f5be31fd644d6a41de147b4604852966e (patch)
tree192129bb2c530fe17fa7ab2339cff505d54f5029 /package/tinyxml
parentd0b360fab8b74eb5ae912e4841ef0403dbabb981 (diff)
parent67e2da6a84f50c0b0e43f4d4fb9eae91671e81ad (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/tinyxml')
-rw-r--r--package/tinyxml/Makefile4
-rw-r--r--package/tinyxml/files/tinyxml.pc10
2 files changed, 13 insertions, 1 deletions
diff --git a/package/tinyxml/Makefile b/package/tinyxml/Makefile
index 1e124faba..692f51343 100644
--- a/package/tinyxml/Makefile
+++ b/package/tinyxml/Makefile
@@ -25,10 +25,12 @@ CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
tinyxml-install:
- $(INSTALL_DIR) $(IDIR_TINYXML)/usr/lib
+ $(INSTALL_DIR) $(IDIR_TINYXML)/usr/lib/
$(CP) $(WRKBUILD)/libtinyxml*.so* \
$(IDIR_TINYXML)/usr/lib
$(INSTALL_DATA) $(WRKBUILD)/tiny{str,xml}.h \
$(STAGING_TARGET_DIR)/usr/include
+ $(INSTALL_DATA) ./files/tinyxml.pc \
+ $(STAGING_TARGET_DIR)/usr/lib/pkgconfig
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tinyxml/files/tinyxml.pc b/package/tinyxml/files/tinyxml.pc
new file mode 100644
index 000000000..684b090cd
--- /dev/null
+++ b/package/tinyxml/files/tinyxml.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: TinyXml
+Description: simple, small, C++ XML parser
+Version: 2.6.2
+Libs: -L${libdir} -ltinyxml
+Cflags: -I${includedir}