summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2016-05-24 22:17:56 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-24 22:45:29 +0200
commitdb551a0efa5305f5ce75fe8440ff52ed25473294 (patch)
treeb4ab1377b77424a6fc08cff650e5e72a985237a6
parent1f97c5899d0b7afae78f87d5b27836aabc2ee909 (diff)
log4cpp: new package
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
-rw-r--r--package/log4cpp/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/log4cpp/Makefile b/package/log4cpp/Makefile
new file mode 100644
index 000000000..b4e82f1be
--- /dev/null
+++ b/package/log4cpp/Makefile
@@ -0,0 +1,31 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= log4cpp
+PKG_VERSION:= 1.1.1
+PKG_RELEASE:= 1
+PKG_HASH:= 35abf332630a6809c969276b1d60b90c81a95daf24c86cfd7866ffef72f9bed0
+PKG_DESCR:= logging framework for c++
+PKG_SECTION:= libs/misc
+PKG_NEEDS:= threads
+PKG_URL:= http://log4cpp.sourceforge.net/
+PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/)
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+WRKDIST= $(WRKDIR)/$(PKG_NAME)
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LOG4CPP,log4cpp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+XAKE_FLAGS+= man3dir=$(WRKINST)/usr/share/man/man3 \
+ docdir=$(WRKINST)/usr/doc/$(PKG_NAME)-$(PKG_VERSION)
+
+log4cpp-install:
+ $(INSTALL_DIR) $(IDIR_LOG4CPP)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/lib$(PKG_NAME).so* $(IDIR_LOG4CPP)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk