diff options
author | David Seifert <soap@gentoo.org> | 2018-04-11 11:36:01 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-04-11 11:36:01 +0200 |
commit | 13c451c6ad05a26f233900de7fce14faca99abc7 (patch) | |
tree | 9b4f81f159c8ff9e3ca617b257b04a1ddecebef0 /dev-libs/cppcodec | |
parent | sys-block/di: Bump to version 4.45 (diff) | |
download | gentoo-13c451c6ad05a26f233900de7fce14faca99abc7.tar.gz gentoo-13c451c6ad05a26f233900de7fce14faca99abc7.tar.bz2 gentoo-13c451c6ad05a26f233900de7fce14faca99abc7.zip |
dev-libs/cppcodec: Add 0.1 release
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-libs/cppcodec')
-rw-r--r-- | dev-libs/cppcodec/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cppcodec/cppcodec-0.1.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/cppcodec/Manifest b/dev-libs/cppcodec/Manifest new file mode 100644 index 000000000000..8ddc96cd620c --- /dev/null +++ b/dev-libs/cppcodec/Manifest @@ -0,0 +1 @@ +DIST cppcodec-0.1.tar.gz 26932 BLAKE2B abfe4aa3126d5900f806682c6ecb60d3cab5eb41e21d68c3f0c55d011c528304be9d286e48c6dac7bd3edea9e519609091053b6aeb2ab85818837b10499b24ae SHA512 8b406755b3d9457e4e265f76abcb7a18daa4566ec9b56ac3a01b44fd62062eef8d91806e0009ce26ade92a35c5c0488eeaf7db695479a2013f8549ac5fa8626f diff --git a/dev-libs/cppcodec/cppcodec-0.1.ebuild b/dev-libs/cppcodec/cppcodec-0.1.ebuild new file mode 100644 index 000000000000..7a7f9e55ed60 --- /dev/null +++ b/dev-libs/cppcodec/cppcodec-0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +inherit cmake-utils + +DESCRIPTION="C++11 library to encode/decode base64, base64url, base32, base32hex and hex" +HOMEPAGE="https://github.com/tplgy/cppcodec" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tplgy/cppcodec.git" + + # Disable pulling in catch + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/tplgy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + virtual/pkgconfig + >=dev-cpp/catch-2.2.0 + )" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + cmake-utils_src_configure +} |