summaryrefslogtreecommitdiff
path: root/package/fmt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/fmt/Makefile')
-rw-r--r--package/fmt/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/fmt/Makefile b/package/fmt/Makefile
new file mode 100644
index 000000000..61019649e
--- /dev/null
+++ b/package/fmt/Makefile
@@ -0,0 +1,28 @@
+# 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:= fmt
+PKG_VERSION:= 5.0.0
+PKG_RELEASE:= 1
+PKG_HASH:= fc33d64d5aa2739ad2ca1b128628a7fc1b7dca1ad077314f09affc57d59cf88a
+PKG_DESCR:= modern formatting library
+PKG_SECTION:= libs/misc
+PKG_URL:= http://fmtlib.net/latest/index.html
+PKG_SITES:= https://github.com/fmtlib/fmt/archive/
+PKG_LIBNAME:= libfmt
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBFMT,libfmt,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= cmake
+CMAKE_FLAGS+= -DFMT_DOC=OFF -DFMT_INSTALL=ON -DFMT_TEST=OFF -DFMT_USE_CPP11=ON
+
+libfmt-install:
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk