diff options
Diffstat (limited to 'app-text/wscr/wscr-1.2-r1.ebuild')
-rw-r--r-- | app-text/wscr/wscr-1.2-r1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
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..9754fc3fc265 --- /dev/null +++ b/app-text/wscr/wscr-1.2-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/wscr/wscr-1.2-r1.ebuild,v 1.1 2010/10/14 19:40:30 jer Exp $ + +inherit toolchain-funcs + +DESCRIPTION="A Lightweight and Fast Anagram Solver" +HOMEPAGE="http://hood.sjfn.nb.ca/~eddie/wscr.html" +SRC_URI="ftp://hood.sjfn.nb.ca/pub/eddie/${P}.tar.gz" +LICENSE="public-domain" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" +IUSE="" +RDEPEND="sys-apps/miscfiles" + +src_compile() { + sed -i 's#"/usr/dict/words";#"/usr/share/dict/words";#' wscr.h + emake CC="$(tc-getCC)" FLAGS="${CFLAGS} ${LDFLAGS}" || die +} + +src_install() { + dobin wscr || die "dobin failed" + doman wscr.6 + dodoc README +} |