diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/rhyme | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/rhyme')
-rw-r--r-- | app-text/rhyme/Manifest | 3 | ||||
-rw-r--r-- | app-text/rhyme/metadata.xml | 16 | ||||
-rw-r--r-- | app-text/rhyme/rhyme-0.9-r1.ebuild | 44 |
3 files changed, 63 insertions, 0 deletions
diff --git a/app-text/rhyme/Manifest b/app-text/rhyme/Manifest new file mode 100644 index 000000000000..c754e7726e2b --- /dev/null +++ b/app-text/rhyme/Manifest @@ -0,0 +1,3 @@ +DIST rhyme-0.9.tar.gz 896013 BLAKE2B d163013a0507fae2c2094076fe77f3ff6be252968e38adb97734ae7ada16407ef2f47ebdded9e7a0c06207514923e0bd881968c9a5088d715e1ecb4b1fc03c09 SHA512 a769313c4790eae94eca1ecf8c00459b9d74e6437d339f8dc9f6642eea51258a0fc2541877a68eeb3a897c29877b673be17826450c1da5a2352a61266784d0fb +EBUILD rhyme-0.9-r1.ebuild 971 BLAKE2B 3948b8e3087b94ff3a640f61288354dde7edccddec5c971633c07bf2536146a460c0a1b8de3022927454a1de5524068624234fcff93e01280c3b079375c85901 SHA512 7d5bdad5eff4b3a4d31cfbab65e38971b6cc41756cfaf2f7d210a89a7c98b78569c59db670f8de5dcc23aa2bf254a9b280b365efbe3f3ec83259b011f6a45f9c +MISC metadata.xml 667 BLAKE2B 0a3c441145a0dbdfdbba7fbce7bc3fa8f1bba7abfa5a50b1edf26fed70535812be42deff9f38641f8f59779f025f0d2c37c115fe5ce9238a50c6635363ac386d SHA512 c63a131298491268402524a8efed010e464393ccc19343cc966d5c2b39d3e69b890264902614f3a2ba18eeb253faf7624b9fe488b3b501e04122d8841e7caac6 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 +} |