diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest new file mode 100644 index 0000000000000..ed842be51a854 --- /dev/null +++ b/dev-libs/libfmt/Manifest @@ -0,0 +1 @@ +DIST libfmt-3.0.1.tar.gz 606603 SHA256 dce62ab75a161dd4353a98364feb166d35e7eea382169d59d9ce842c49c55bad SHA512 daf5dfb2fe63eb611983fa248bd2182c6202cf1c4f0fc236f357040fce8e87ad531cdf59090306bb313ea333d546e516f467b385e05094e696d0ca091310aad6 WHIRLPOOL 775f9dc9228fbd429e4dbad90d536b69542fb583e44dba9eda950267bae82938b2703726481ff02fbab0cb9efe78b46501f4b82e20cfef550313b7653f6cb963 diff --git a/dev-libs/libfmt/libfmt-3.0.1.ebuild b/dev-libs/libfmt/libfmt-3.0.1.ebuild new file mode 100644 index 0000000000000..aa04d6331efef --- /dev/null +++ b/dev-libs/libfmt/libfmt-3.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="git://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +src_configure() { + local mycmakeargs=( + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/libfmt-9999.ebuild b/dev-libs/libfmt/libfmt-9999.ebuild new file mode 100644 index 0000000000000..aa04d6331efef --- /dev/null +++ b/dev-libs/libfmt/libfmt-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="git://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +src_configure() { + local mycmakeargs=( + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/metadata.xml b/dev-libs/libfmt/metadata.xml new file mode 100644 index 0000000000000..7891bb997fa2c --- /dev/null +++ b/dev-libs/libfmt/metadata.xml @@ -0,0 +1,16 @@ + + + + + candrews@integralblue.com + Craig Andrews + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/fmtlib/fmt/issues + fmtlib/fmt + +