diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2016-12-19 23:24:30 +0500 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2017-01-09 12:30:44 -0500 |
commit | 57f65c13d6c3daed17de4725ca28cb46b3025ffa (patch) | |
tree | 492fb44b124798146832c3bb75ea7f92f9ff4e40 /app-text/cmark | |
parent | 9fda18bd74c4aa4fb863d4e8bf1ed18d181d9f1e (diff) | |
download | gentoo-57f65c13d6c3daed17de4725ca28cb46b3025ffa.tar.gz gentoo-57f65c13d6c3daed17de4725ca28cb46b3025ffa.tar.xz |
app-text/cmark: New package (#549682)
cmark is CommonMark parsing and rendering library and program in C.
Gentoo-Bug: https://bugs.gentoo.org/549682
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/cmark')
-rw-r--r-- | app-text/cmark/Manifest | 1 | ||||
-rw-r--r-- | app-text/cmark/cmark-0.27.1.ebuild | 35 | ||||
-rw-r--r-- | app-text/cmark/metadata.xml | 18 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-text/cmark/Manifest b/app-text/cmark/Manifest new file mode 100644 index 00000000000..7fcdd690b21 --- /dev/null +++ b/app-text/cmark/Manifest @@ -0,0 +1 @@ +DIST cmark-0.27.1.tar.gz 215574 SHA256 669b4c19355e8cb90139fdd03b02283b97130e92ea99a104552a2976751446b5 SHA512 a7797c9dfd54e20499666e37ba67b1902ef0d40867e7b941c1cfc93d4fbe935fb073be69aecc9f9f8c8e9524049037771635b45e071af981613431f3fbbe7b41 WHIRLPOOL 0eac7dd03176ca0fd21f89288b8e1ce92889cac00690e512304afa58c4e1777040697b78897c851a8c1c59d181cfc6e5ce3f5a980efd9939f66cc950e91fdc07 diff --git a/app-text/cmark/cmark-0.27.1.ebuild b/app-text/cmark/cmark-0.27.1.ebuild new file mode 100644 index 00000000000..31fd2e24c8e --- /dev/null +++ b/app-text/cmark/cmark-0.27.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="CommonMark parsing and rendering library and program in C" +HOMEPAGE="https://github.com/jgm/cmark" +SRC_URI="https://github.com/jgm/cmark/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + test? ( || ( dev-lang/python:3.4 dev-lang/python:3.5 ) )" +RDEPEND="" + +src_prepare() { + cmake-utils_src_prepare + # Remove static library from installing + sed -i -e \ + s":\${LIBRARY} \${STATICLIBRARY}:\${LIBRARY}:g" \ + src/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DCMARK_TESTS="$(usex test)" + ) + cmake-utils_src_configure +} diff --git a/app-text/cmark/metadata.xml b/app-text/cmark/metadata.xml new file mode 100644 index 00000000000..793f4e46310 --- /dev/null +++ b/app-text/cmark/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>azamat.hackimov@gmail.com</email> + <name>Azamat H. Hackimov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + CommonMark parsing and rendering library and program in C. + </longdescription> + <upstream> + <remote-id type="github">jgm/cmark</remote-id> + </upstream> +</pkgmetadata> |