fmt: new package
PATCH v5 1/1 fmt: new package
Changes between v4 and v5:
- added dependcy from LIBSTDCPP to fmt
Changes between v3 and v4:
- fixed misprint
Changes between v2 and v3:
- removed Staging section in fmt.mk file
- formatting fixes
- added dependency from w/ C++
Changes between v1 and v2:
- formatting fixes
- added right license
- using Github helper to download
--- package/Config.in | 1 + package/fmt/Config.in | 10 ++++++++++ package/fmt/fmt.hash | 4 ++++ package/fmt/fmt.mk | 18 ++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 package/fmt/Config.in create mode 100755 package/fmt/fmt.hash create mode 100755 package/fmt/fmt.mk
package/Config.in +1 -0
@@ -1433,6 +1433,7 @@ endmenu menu "Text and terminal handling" source "package/augeas/Config.in" source "package/enchant/Config.in" + source "package/fmt/Config.in" source "package/icu/Config.in" source "package/libcli/Config.in" source "package/libedit/Config.in"
package/fmt/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_FMT + bool "fmt" + depends on BR2_INSTALL_LIBSTDCPP + help + fmt is an open-source formatting library for C++. It can be used + as a safe alternative to printf or as a fast alternative to + IOStreams. + +comment "fmt needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP
package/fmt/fmt.hash new file +4 -0
@@ -0,0 +1,4 @@ +# Calculated on http://onlinemd5.com/ +sha1 c7026a04f05331004888bf0ab8ef2ef3c002933c fmt-3.0.1.tar.gz +# Calculated on http://onlinemd5.com/ +sha256 dce62ab75a161dd4353a98364feb166d35e7eea382169d59d9ce842c49c55bad fmt-3.0.1.tar.gz
package/fmt/fmt.mk new file +18 -0
@@ -0,0 +1,18 @@ +################################################################################ +# +# fmt +# +################################################################################ + +FMT_VERSION = 3.0.1 +FMT_SITE = $(call github,fmtlib,fmt,$(FMT_VERSION)) +FMT_LICENSE = BSD-2-Clause +FMT_LICENSE_FILES = LICENSE.rst +FMT_INSTALL_STAGING = YES + +FMT_CONF_OPTS = \ + -DHAVE_OPEN=ON \ + -DFMT_INSTALL=ON \ + -DFMT_TEST=OFF + +$(eval $(cmake-package))
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH v5 1/1 fmt: new package
Hello,
Quoted 17 lines · Semyon Kolganov
Signed-off-by Semyon Kolganov <[email protected]>Changes between v4 and v5:
- added dependcy from LIBSTDCPP to fmtChanges between v3 and v4:
- fixed misprintChanges between v2 and v3:
- removed Staging section in fmt.mk file
- formatting fixes
- added dependency from w/ C++Changes between v1 and v2:
- formatting fixes
- added right license
- using Github helper to download
Quoted 9 lines
--- package/Config.in | 1 + package/fmt/Config.in | 10 ++++++++++ package/fmt/fmt.hash | 4 ++++ package/fmt/fmt.mk | 18 ++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 package/fmt/Config.in create mode 100755 package/fmt/fmt.hash create mode 100755 package/fmt/fmt.mk
Applied to master with the following changes:
[Thomas:
- add entry to DEVELOPERS file
- add missing wchar dependency
- minor tweaks.]
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com