diff options
Diffstat (limited to 'app-text/wscr')
-rw-r--r-- | app-text/wscr/Manifest | 3 | ||||
-rw-r--r-- | app-text/wscr/metadata.xml | 10 | ||||
-rw-r--r-- | app-text/wscr/wscr-1.2-r1.ebuild | 29 |
3 files changed, 42 insertions, 0 deletions
diff --git a/app-text/wscr/Manifest b/app-text/wscr/Manifest new file mode 100644 index 000000000000..9af57eac226c --- /dev/null +++ b/app-text/wscr/Manifest @@ -0,0 +1,3 @@ +DIST wscr-1.2.tar.gz 3502 BLAKE2B 4a6684dd6d9eb9c23caa92f9ddf62332f59b20eb4aba0f475015ddc7e66c592177b0d15ec25249fed86e2302a53463f59d608bd727d97bc33a42d903ecd04281 SHA512 8a26c7fb190f830f6436240fc00dcf61405b1818ff311999e02c64b3506fa6abf13a6f212dbb9b15794ecae4f122def563f9301eebdd7e8d09f22cd647467ee3 +EBUILD wscr-1.2-r1.ebuild 600 BLAKE2B d2dcd3d6d7a2d575c06560c70b48ab81e43bb2c2b74e467d8aab63cb486a2e21b14d412e0aa2b63277be18e1caa9d13e556afae25d0a188db75bb8e1c3c7117a SHA512 40793d93f075829e9533a6f534fe3118c5b3849439ccc7a238d43fefbd450f170fb6ab729db63c713dbc7cb061e97fce157f558ce062d80cab9bd04311c779ae +MISC metadata.xml 421 BLAKE2B dd48a7b914e790db0db06781519466d05de32f96ff8399e9fcb24ff040119dcec5380677910d9155c611c28203ac1ee7bf5d9602faeed69d4bff35a8cb1d6b3d SHA512 70722daa9c12a7e783b5fb3651f207c057648287e104739043f96c726820268ceb8e4ec211af9a3e2f8fcf7a5e03c9346cea7a25a70478dfdb60f333112b70e7 diff --git a/app-text/wscr/metadata.xml b/app-text/wscr/metadata.xml new file mode 100644 index 000000000000..d5f156b045c3 --- /dev/null +++ b/app-text/wscr/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>jer@gentoo.org</email> +</maintainer> +<longdescription lang="en">WSCR is a program to solve word jumbles, print all +permutations of a string, and print pseudo-anagrams. It will use /usr/dict/words +or a user-specified wordlist file</longdescription> +</pkgmetadata> diff --git a/app-text/wscr/wscr-1.2-r1.ebuild b/app-text/wscr/wscr-1.2-r1.ebuild new file mode 100644 index 000000000000..70eae73fb6be --- /dev/null +++ b/app-text/wscr/wscr-1.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="A Lightweight and Fast Anagram Solver" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz" +LICENSE="public-domain" +SLOT="0" + +KEYWORDS="amd64 ~mips ppc x86" +IUSE="" +RDEPEND="sys-apps/miscfiles" + +src_prepare() { + sed -i 's#"/usr/dict/words";#"/usr/share/dict/words";#' wscr.h || die +} + +src_compile() { + emake CC="$(tc-getCC)" FLAGS="${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin wscr + doman wscr.6 + dodoc README +} |