diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-text/editorconfig-core-c/editorconfig-core-c-0.12.3-r1.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-text/editorconfig-core-c/editorconfig-core-c-0.12.3-r1.ebuild')
-rw-r--r-- | app-text/editorconfig-core-c/editorconfig-core-c-0.12.3-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.3-r1.ebuild b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.3-r1.ebuild new file mode 100644 index 000000000000..828fb761bded --- /dev/null +++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.3-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="EditorConfig core library written in C" +HOMEPAGE="https://github.com/editorconfig/editorconfig-core-c/" +SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="cli doc" + +BDEPEND="app-doc/doxygen" +DEPEND="dev-libs/libpcre2:=" +RDEPEND="${DEPEND} + cli? ( !dev-python/editorconfig-core-py[cli] )" + +PATCHES=( "${FILESDIR}/${P}-no-static-libs.patch" ) + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) + cmake_src_install + + if ! use cli; then + rm -r "${ED}/usr/bin" || die + fi +} |