summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-10-14 19:40:30 +0000
committerJeroen Roovers <jer@gentoo.org>2010-10-14 19:40:30 +0000
commitb8082cd1e3cd80521a59727bafd70aa569d777ec (patch)
tree7dc6a1b233b4f6942aa8bc84037fdae366ed674d /app-text/wscr
parentMarking Mail-SPF-2.007-r1 ~ppc for bug 313321 (diff)
downloadgentoo-2-b8082cd1e3cd80521a59727bafd70aa569d777ec.tar.gz
gentoo-2-b8082cd1e3cd80521a59727bafd70aa569d777ec.tar.bz2
gentoo-2-b8082cd1e3cd80521a59727bafd70aa569d777ec.zip
Respect LDFLAGS.
(Portage version: 2.2_rc96/cvs/Linux i686)
Diffstat (limited to 'app-text/wscr')
-rw-r--r--app-text/wscr/ChangeLog9
-rw-r--r--app-text/wscr/wscr-1.2-r1.ebuild26
2 files changed, 33 insertions, 2 deletions
diff --git a/app-text/wscr/ChangeLog b/app-text/wscr/ChangeLog
index ab67ddc3a247..c28059c2f71e 100644
--- a/app-text/wscr/ChangeLog
+++ b/app-text/wscr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/wscr
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wscr/ChangeLog,v 1.16 2009/01/03 15:45:10 angelos Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wscr/ChangeLog,v 1.17 2010/10/14 19:40:30 jer Exp $
+
+*wscr-1.2-r1 (14 Oct 2010)
+
+ 14 Oct 2010; Jeroen Roovers <jer@gentoo.org> +wscr-1.2-r1.ebuild:
+ Respect LDFLAGS.
03 Jan 2009; Christoph Mende <angelos@gentoo.org> wscr-1.2.ebuild:
QA: Respect CC (bug 243762)
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
+}