mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-libs/libfmt: Small, safe and fast formatting library
Bug: https://bugs.gentoo.org/show_bug.cgi?id=611804 Package-Manager: Portage-2.3.4, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4143
This commit is contained in:
committed by
David Seifert
parent
b5f2642b4e
commit
a7bb963c61
1
dev-libs/libfmt/Manifest
Normal file
1
dev-libs/libfmt/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST libfmt-3.0.1.tar.gz 606603 SHA256 dce62ab75a161dd4353a98364feb166d35e7eea382169d59d9ce842c49c55bad SHA512 daf5dfb2fe63eb611983fa248bd2182c6202cf1c4f0fc236f357040fce8e87ad531cdf59090306bb313ea333d546e516f467b385e05094e696d0ca091310aad6 WHIRLPOOL 775f9dc9228fbd429e4dbad90d536b69542fb583e44dba9eda950267bae82938b2703726481ff02fbab0cb9efe78b46501f4b82e20cfef550313b7653f6cb963
|
||||
33
dev-libs/libfmt/libfmt-3.0.1.ebuild
Normal file
33
dev-libs/libfmt/libfmt-3.0.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
33
dev-libs/libfmt/libfmt-9999.ebuild
Normal file
33
dev-libs/libfmt/libfmt-9999.ebuild
Normal file
@@ -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
|
||||
}
|
||||
16
dev-libs/libfmt/metadata.xml
Normal file
16
dev-libs/libfmt/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>candrews@integralblue.com</email>
|
||||
<name>Craig Andrews</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/fmtlib/fmt/issues</bugs-to>
|
||||
<remote-id type="github">fmtlib/fmt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user