summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-24 05:18:44 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-24 05:26:59 -0500
commitc4c6356cd7bb60962a5044aa76373b00db1da59e (patch)
treed4d59f697e2933ff96184826d56478b0a8977656
parent7afd8b4df4caf1dce7c3df8656aa9d8d7e26cf7d (diff)
add pcconfig file
-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}