summaryrefslogtreecommitdiff
path: root/app-text/rhyme
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 /app-text/rhyme
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/rhyme')
-rw-r--r--app-text/rhyme/Manifest5
-rw-r--r--app-text/rhyme/metadata.xml16
-rw-r--r--app-text/rhyme/rhyme-0.9-r1.ebuild44
3 files changed, 65 insertions, 0 deletions
diff --git a/app-text/rhyme/Manifest b/app-text/rhyme/Manifest
new file mode 100644
index 000000000000..518309037d66
--- /dev/null
+++ b/app-text/rhyme/Manifest
@@ -0,0 +1,5 @@
+DIST rhyme-0.9.tar.gz 896013 SHA256 11d4862cc3adfc18ea83ca233854c562fcebdc838fa7fb62de6ef3f63f992bd4 SHA512 a769313c4790eae94eca1ecf8c00459b9d74e6437d339f8dc9f6642eea51258a0fc2541877a68eeb3a897c29877b673be17826450c1da5a2352a61266784d0fb WHIRLPOOL a2751ec43dffaa1efa8ad62a29f75c3f69d9558226c321085d583e5abdfb34910bb1a682c0ee9bb3d409cbe324294933188004bd5cb16f51b3ddfcedc3e2e6ac
+EBUILD rhyme-0.9-r1.ebuild 971 SHA256 ca6f59d10b4b88901823c41f78b385cbcdcf4481e854ff241742dfb67a99fad9 SHA512 7d5bdad5eff4b3a4d31cfbab65e38971b6cc41756cfaf2f7d210a89a7c98b78569c59db670f8de5dcc23aa2bf254a9b280b365efbe3f3ec83259b011f6a45f9c WHIRLPOOL c6eebe29bd0c251af1d0cba065ad7ac4374a7757a279ae8b160fc40b3dd7a8b7b8be794b423a85af580a0e81950404ad2036bd96b75ea74a0ff83b7aaef19993
+MISC ChangeLog 2518 SHA256 739317e95a284297b1e5f0c81b6fff05b40a5e12383dca23d565ddaaa0dc44de SHA512 448948d5aab2a7ecf84d05c1ca1c4027998c08f37759568dc6538c158fa392a92d593646bb696ef0efcf3a2e1e4390cc45f29c6ac27235f35f8e218b1bd5dbab WHIRLPOOL 740beb7c903a86e7a9f2527ded8b19922c47a2d798c4744d7a49b71836fb99e7543e758e9ac2ad216da6ec39364eca5258e15b6cc164e725b2dced364dcccc2d
+MISC ChangeLog-2015 2314 SHA256 5da130626c75a5b7dd6068f4c95cf4a4483c6aab8bb84196bf661937db7df0ef SHA512 5357a181fa8a7da317584a51a21d7b16309e82b6ee2f8a112cb63ab01b8487d4ebbf5ade7440ada635e6d7bbfb702ade6450e459a4c3cd084173ade37dde2365 WHIRLPOOL b893780c819d72f8abc08b57a32a3b8c7565ccfefd850600a4e0d2cc1908cda2a6fc49c3b60878df90af7aa7da1b829b537026f0696fdaab5604d89603d39692
+MISC metadata.xml 667 SHA256 d21f696f7cdd160722d495a02a2992920e652497798ed07435a9fbd806110fc3 SHA512 c63a131298491268402524a8efed010e464393ccc19343cc966d5c2b39d3e69b890264902614f3a2ba18eeb253faf7624b9fe488b3b501e04122d8841e7caac6 WHIRLPOOL ffa26f7deb40d7e512285204f5ef1be794e719efe18b4ffbd8f86475f37618f648430bc73ff04e34055a39af1cabeb308026919f2463f4f26aca7da08c09b686
diff --git a/app-text/rhyme/metadata.xml b/app-text/rhyme/metadata.xml
new file mode 100644
index 000000000000..aa21005d2367
--- /dev/null
+++ b/app-text/rhyme/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ What is this thing? Why it's a rhyming dictionary, of course! But more
+ specifically, it's a command-line program that takes a word and returns
+ to you a formatted list of all words that rhyme with it. The default
+ response is a perfect rhyme (which is probably what you want). Or you
+ can get a syllable count of a certain word ("whitening" has 2-3
+ syllables, etc.).
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">rhyme</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/rhyme/rhyme-0.9-r1.ebuild b/app-text/rhyme/rhyme-0.9-r1.ebuild
new file mode 100644
index 000000000000..660464e5c6ba
--- /dev/null
+++ b/app-text/rhyme/rhyme-0.9-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+# missing files ...
+RESTRICT="test"
+
+DESCRIPTION="Console based Rhyming Dictionary"
+HOMEPAGE="http://rhyme.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rhyme/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=sys-libs/readline-4.3
+ >=sys-libs/gdbm-1.8.0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # termcap is used by default, switch to ncurses
+ sed -i Makefile \
+ -e 's|-ltermcap||g' \
+ -e 's|-o rhyme|$(LDFLAGS) &|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ # Disable parallell building wrt bug #125967
+ emake -j1 CC="$(tc-getCC)" FLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ # author doesnt use -D for install
+ dodir /usr/share/rhyme /usr/bin /usr/share/man/man1
+
+ einstall BINPATH="${D}"/usr/bin \
+ MANPATH="${D}"/usr/share/man/man1 \
+ RHYMEPATH="${D}"/usr/share/rhyme
+}