From c4c6356cd7bb60962a5044aa76373b00db1da59e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 24 May 2015 05:18:44 -0500 Subject: add pcconfig file --- package/tinyxml/Makefile | 4 +++- package/tinyxml/files/tinyxml.pc | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 package/tinyxml/files/tinyxml.pc (limited to 'package') 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} -- cgit v1.2.3