summaryrefslogtreecommitdiff
path: root/package/fmt/Makefile
blob: 2831edea5b302e30e6032942e1bfdca94f66ffdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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

libfmt-install:

include $(ADK_TOPDIR)/mk/pkg-bottom.mk