diff --git a/packages/devel/libfmt/package.mk b/packages/devel/libfmt/package.mk new file mode 100644 index 0000000000..dfed9ea2da --- /dev/null +++ b/packages/devel/libfmt/package.mk @@ -0,0 +1,34 @@ +################################################################################ +# This file is part of LibreELEC - http://www.libreelec.tv +# Copyright (C) 2017 Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libfmt" +PKG_VERSION="3.0.1" +PKG_ARCH="any" +PKG_LICENSE="BSD" +PKG_SITE="https://github.com/fmtlib/fmt" +PKG_URL="https://github.com/fmtlib/fmt/archive/$PKG_VERSION.tar.gz" +PKG_SOURCE_DIR="fmt-$PKG_VERSION" +PKG_DEPENDS_TARGET="toolchain" +PKG_SECTION="devel" +PKG_SHORTDESC="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." +PKG_LONGDESC="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." + +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" + +PKG_CMAKE_OPTS_TARGET="-DFMT_DOC=OFF -DFMT_INSTALL=ON -DFMT_TEST=OFF -DFMT_USE_CPP11=ON"