diff options
author | 2012-04-15 00:04:30 +0300 | |
---|---|---|
committer | 2012-04-15 00:04:30 +0300 | |
commit | 5800cdd6d9d86cda303e8af3fee6288d2fce7bba (patch) | |
tree | 779e55dbd5ba9a5c38dd7da4618ff2a613e08958 /app-text/peg-markdown/peg-markdown-0.4.12.ebuild | |
parent | dev-cpp/cppcms: Revision bump for dev-cpp/cppcms (diff) | |
download | sunrise-5800cdd6d9d86cda303e8af3fee6288d2fce7bba.tar.gz sunrise-5800cdd6d9d86cda303e8af3fee6288d2fce7bba.tar.bz2 sunrise-5800cdd6d9d86cda303e8af3fee6288d2fce7bba.zip |
app-text/peg-markdown: New ebuild for bug #411895 thanks to mgorny
Diffstat (limited to 'app-text/peg-markdown/peg-markdown-0.4.12.ebuild')
-rw-r--r-- | app-text/peg-markdown/peg-markdown-0.4.12.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-text/peg-markdown/peg-markdown-0.4.12.ebuild b/app-text/peg-markdown/peg-markdown-0.4.12.ebuild new file mode 100644 index 000000000..87c0d508c --- /dev/null +++ b/app-text/peg-markdown/peg-markdown-0.4.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils toolchain-funcs vcs-snapshot + +DESCRIPTION="An implementation of John Gruber's markdown in C" +HOMEPAGE="https://github.com/jgm/peg-markdown" +SRC_URI="https://github.com/jgm/${PN}/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 MIT )" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-util/peg" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-Makefile.patch" \ + "${FILESDIR}/${P}-declare.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + exeinto usr/bin + doexe ${PN} + dolib.so lib${PN}.so.${PV} + dosym lib${PN}.so.${PV} usr/lib/lib${PN}.so + dohtml README.html + insinto usr/include + doins markdown_lib.h +} |