summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2013-02-24 04:26:36 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2013-02-24 04:26:36 +0000
commit06b5651d977f0291d3edfd560d700d9e127732c8 (patch)
tree2aa657cc8c665ba2503ec91c9217570b3ac64b81 /app-text
parentInitial commit. (diff)
downloadgentoo-2-06b5651d977f0291d3edfd560d700d9e127732c8.tar.gz
gentoo-2-06b5651d977f0291d3edfd560d700d9e127732c8.tar.bz2
gentoo-2-06b5651d977f0291d3edfd560d700d9e127732c8.zip
Initial commit.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'app-text')
-rw-r--r--app-text/peg-markdown/ChangeLog10
-rw-r--r--app-text/peg-markdown/Manifest4
-rw-r--r--app-text/peg-markdown/metadata.xml9
-rw-r--r--app-text/peg-markdown/peg-markdown-0.4.14.ebuild41
4 files changed, 64 insertions, 0 deletions
diff --git a/app-text/peg-markdown/ChangeLog b/app-text/peg-markdown/ChangeLog
new file mode 100644
index 000000000000..12b604856feb
--- /dev/null
+++ b/app-text/peg-markdown/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/peg-markdown
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/peg-markdown/ChangeLog,v 1.1 2013/02/24 04:26:36 rafaelmartins Exp $
+
+*peg-markdown-0.4.14 (24 Feb 2013)
+
+ 24 Feb 2013; Rafael G. Martins <rafaelmartins@gentoo.org>
+ +peg-markdown-0.4.14.ebuild, +metadata.xml:
+ Initial commit.
+
diff --git a/app-text/peg-markdown/Manifest b/app-text/peg-markdown/Manifest
new file mode 100644
index 000000000000..dc489abf9e1a
--- /dev/null
+++ b/app-text/peg-markdown/Manifest
@@ -0,0 +1,4 @@
+DIST peg-markdown-0.4.14.tar.gz 85692 SHA256 111bc56058cfed11890af11bec7419e2f7ccec6b399bf05f8c55dae0a1712980 SHA512 38e43b548b2cedf04fae87baf91c9e0767914bdb617ee4b6a3cbe950f8cbb0717c457cafabcff606501e889ac196a0aef94317f3bf85f5b88a2285f686b6dd5e WHIRLPOOL ae799da2be4d5dde55d73fd841063a88242a6e6cddb1473cda847a32d53a3f75b100937df0b07b1a83bbf995ae9a125bda9ace19809318d56b7eb646aabd781b
+EBUILD peg-markdown-0.4.14.ebuild 933 SHA256 1aa67c3bfae458d0f300207f5a24fc910c64a94a789cc149126528bbcc39c88a SHA512 048bca3888cd6b705830b9fe7a01576804dd9e3b5c6b3ebe778a8d3d0c5746eff67b7812dd466f9e5367791e716abfe3d5c503435991beb5828631eb2860fe19 WHIRLPOOL cddd3446858fb311b711acd2007c3672e21ade4d125b4016775c1ab3a30bf6d716a66f482a2f8ef790e79c66099dd8e1c4947effa2b73df7e153f35f99b03fe5
+MISC ChangeLog 283 SHA256 a2cf4fab8d17eb19cfe966eddcfff86265a3475acc634968f5a17d7a5a4714bd SHA512 2e6e74546cf45ee2267ee1173471e9645a11d46f5273142c646417950e75ed706f0df53af646ea9061b6d4b828a56f85d06ed9e81e26f64e09cc6df95cb76a30 WHIRLPOOL a64477f5ecc66ecaa91120b763d1a33c0585bdc9f84002d7cec7ad95649a2b9e367f7315d3a20286fa241d248d6aca78d54c7e8013393304ca9b74d84a82f97e
+MISC metadata.xml 244 SHA256 7283317a6b41bed38b15ea92588323af4383debfdd8fc0c1766c0791172d0b31 SHA512 256a94e65f790ecb0bc7a76c679db31a0aabbdd3354075f090a6bc025b247946267f33670d67743a5e4ec9c7985b48e74f04a37a9685174f51fa65e952e13465 WHIRLPOOL 9c46b752a7ac24587d44d185ab97cad9b224f0268231decf05858adabb30bacc2e0083a467e5c4d630ac15be9d158476bd2642690949417b35a3d0f67bcf3e49
diff --git a/app-text/peg-markdown/metadata.xml b/app-text/peg-markdown/metadata.xml
new file mode 100644
index 000000000000..6952befafef7
--- /dev/null
+++ b/app-text/peg-markdown/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-text/peg-markdown/peg-markdown-0.4.14.ebuild b/app-text/peg-markdown/peg-markdown-0.4.14.ebuild
new file mode 100644
index 000000000000..e9faeb393711
--- /dev/null
+++ b/app-text/peg-markdown/peg-markdown-0.4.14.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/peg-markdown/peg-markdown-0.4.14.ebuild,v 1.1 2013/02/24 04:26:36 rafaelmartins Exp $
+
+EAPI=5
+
+DESCRIPTION="Implementation of markdown in C, using a PEG grammar"
+HOMEPAGE="https://github.com/jgm/peg-markdown"
+SRC_URI="https://github.com/jgm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 MIT )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-libs/glib"
+DEPEND="${RDEPEND}
+ dev-util/peg
+ test? (
+ dev-lang/perl
+ virtual/perl-Getopt-Long
+ app-text/htmltidy )"
+
+src_prepare() {
+ rm -rf peg-* || die "rm failed"
+ sed -i \
+ -e 's/^PROGRAM=markdown/PROGRAM=peg-markdown/' \
+ -e 's/$(CC) `/$(CC) $(LDFLAGS) `/g' \
+ -e 's/^\t$(LEG)/\tleg/' \
+ -e 's/^$(PEGDIR):/dummy:/' \
+ -e '/$(PEGDIR)/d' \
+ -e 's/$(LEG) //g' \
+ Makefile || die 'sed failed'
+ sed -i \
+ -e '/strdup/d' markdown_peg.h || die 'sed .h failed'
+}
+
+src_install() {
+ dobin peg-markdown
+ dodoc README.markdown
+}