summaryrefslogtreecommitdiff
path: root/www-apps/rocketwiki-lqfb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/rocketwiki-lqfb
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/rocketwiki-lqfb')
-rw-r--r--www-apps/rocketwiki-lqfb/Manifest6
-rw-r--r--www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch44
-rw-r--r--www-apps/rocketwiki-lqfb/metadata.xml11
-rw-r--r--www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild31
4 files changed, 92 insertions, 0 deletions
diff --git a/www-apps/rocketwiki-lqfb/Manifest b/www-apps/rocketwiki-lqfb/Manifest
new file mode 100644
index 000000000000..77c5ea6ad229
--- /dev/null
+++ b/www-apps/rocketwiki-lqfb/Manifest
@@ -0,0 +1,6 @@
+AUX rocketwiki-lqfb-0.4-utf8.patch 1164 SHA256 2fa2f060093f7d9ddc155f90190865d9aafbc5a701dc9f7b904cfad62e613994 SHA512 146a39a78e944f41d569f47ec39a53b192d4a5c127189cd3cb4e784e33a94761c0cc309f7edc08f73fab6eb6ceaf6545757e232c5a912f874c5bf4af80c9903b WHIRLPOOL 04269332d7cdc81ed182c97b134508167dfcdd8c595ecaf81b9623f64cf0865f45613f3e39c6a9ad328ec646850578b00561e09e428fbc927be8e353919abc6d
+DIST rocketwiki-lqfb-v0.4.tar.gz 5274 SHA256 d4035e01026585eab69d135e70cf3e5b8cfd93c078d09303902f3862f885c830 SHA512 fa90b317007c42e2e6d36c79773948ab7ab68ee914bd20825e0d5acbb8bf0add2c0a48119440d8a5b4c991f2d1f59bc83a1835b02d9070ae67fca1d4ffb73caf WHIRLPOOL 41dc9f02ed196f7c1881c33f0092cb267d45299dc6eb479afda9fa9adde30be06405af60faebd1cfa85e7c5ee16a8f161f59f5881824326ddc05d97489f3bf29
+EBUILD rocketwiki-lqfb-0.4.ebuild 648 SHA256 cbe552bf33b81f645ea029ca75c628541f0b6a79c0b120d8cd20d339f4b0c4c1 SHA512 2f54c4fda9de1a7c3d635631b8ed5a80a54a7b776c3f679ba2c5113ad2e98ddc3bc2a1466e5ebfdd7f2f62cb19c2f7d0d3358d0edb7da16995651235ae40c6a6 WHIRLPOOL bfaf203582db1a852a6772bc901c4cfdf603f067c0aa89a45b25f0e1d1031689cf3453180db491a1e6506416c9f7d51717148016f2c1e7e65bf9bdd214ff0eb6
+MISC ChangeLog 2630 SHA256 cdc234db9529d1067607d15f723f9d6a179ebe39c917c444571f1d26fb6f0089 SHA512 c33f2b2881bb24cdeb75b6ccb735c04137ca33fd8fb2469eab833092911c0f1e4c03587e7c0937120fd852d9e1192bdd580985ad1beb6be185aa5c1d80eb2705 WHIRLPOOL 8b8d9fe4486a58df53996255780137e3ec4756846984cb464fb3b5de95cb6006c2bea9828deb452bbe15fcd09835e9bd0ff6ca7479988b3f4e9a37950d54f9bd
+MISC ChangeLog-2015 609 SHA256 bdeaceae18fb2935002f1e1f7fbf1d77f569e32f6c8b155f7117503a9745fe69 SHA512 e1ddf45b110e7d8418a51b09255afef0646c4e242d1e57aae372d491a3b887ee8e8e0b7404c087d65460bb2c08e3265240177f1773d9cf06e4605bb553c21162 WHIRLPOOL e889a7d81f04213bc13042fcc126c2fc1c07da63f31da8588a8e133e8a86b7b73888f84c22138e9b7eb5abcb2e369dd20bcedd58ac18bfdf9a7c54858f2d7842
+MISC metadata.xml 502 SHA256 3363dc354fc6abf6df18138e3eeb61272bb0b0b37ff8bf6a1a3a8056bd581dc9 SHA512 f9c4da2ace81b5cf8ce45de2e923ae3ef67bb486c606f6ef2737bc733c27308bf11a653a2fe12f9036d4053eb10e514489aa7fdcc5db363ad043c607c45800d7 WHIRLPOOL 73eef82cfa698fd8bdba9b6a3063f738cf43cd3092da90603c7481d78e26d500a86b5e883268552bdef2bfb8e4962638b714a658cc5d49a941419755e6e4bb5a
diff --git a/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch b/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch
new file mode 100644
index 000000000000..0156686ee29c
--- /dev/null
+++ b/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch
@@ -0,0 +1,44 @@
+--- rocketwiki-lqfb.hs.old 2013-04-25 21:41:34.044588280 +0200
++++ rocketwiki-lqfb.hs 2013-04-25 21:42:33.108020316 +0200
+@@ -2,6 +2,7 @@
+ import Text.ParserCombinators.Parsec
+ import Control.Applicative ((<$>), (<*>))
+ import Data.List (intercalate)
++import System.IO (hSetEncoding, stdin, stdout, utf8)
+
+
+ -----------------------------------------------------
+@@ -405,7 +406,10 @@
+ return htmlEntity
+
+
+-main = interact wikiParse
++main = do
++ hSetEncoding stdin utf8
++ hSetEncoding stdout utf8
++ interact wikiParse
+
+ wikiParse str
+ | success parseResult = html
+--- rocketwiki-lqfb-compat.hs.old 2013-04-25 21:41:41.340518231 +0200
++++ rocketwiki-lqfb-compat.hs 2013-04-25 21:43:21.299557312 +0200
+@@ -2,6 +2,7 @@
+ import Text.ParserCombinators.Parsec
+ import Control.Applicative ((<$>), (<*>))
+ import Data.List (intercalate)
++import System.IO (hSetEncoding, stdin, stdout, utf8)
+
+
+ -----------------------------------------------------
+@@ -412,7 +413,10 @@
+ return htmlEntity
+
+
+-main = interact wikiParse
++main = do
++ hSetEncoding stdin utf8
++ hSetEncoding stdout utf8
++ interact wikiParse
+
+ wikiParse str
+ | success parseResult = html
diff --git a/www-apps/rocketwiki-lqfb/metadata.xml b/www-apps/rocketwiki-lqfb/metadata.xml
new file mode 100644
index 000000000000..10420b57d80d
--- /dev/null
+++ b/www-apps/rocketwiki-lqfb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>tupone@gentoo.org</email>
+<name>Alfredo Tupone</name>
+</maintainer>
+<longdescription lang="en">
+RocketWiki is a small parser written in Haskell which translates a wiki dialect to HTML. It uses Parsec, a monadic parser combinator library. The compressed source code of RocketWiki has a size of only 5162 bytes.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild b/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild
new file mode 100644
index 000000000000..662933a4fb42
--- /dev/null
+++ b/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Small parser which translates a wiki dialect to HTML"
+HOMEPAGE="http://www.public-software-group.org/rocketwiki"
+SRC_URI="http://www.public-software-group.org/pub/projects/rocketwiki/liquid_feedback_edition/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/gmp"
+DEPEND="${RDEPEND}
+ dev-haskell/parsec
+ dev-lang/ghc"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-utf8.patch
+}
+
+src_install() {
+ dobin ${PN}{,-compat}
+}