|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.07.ebuild,v 1.5 2006/06/01 14:25:54 seemant Exp $ | # $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.07.ebuild,v 1.5 2006/06/01 14:25:54 seemant Exp $ |
| |
|
inherit eutils |
|
|
DESCRIPTION="Diction and style checkers for english and german texts" | DESCRIPTION="Diction and style checkers for english and german texts" |
HOMEPAGE="http://www.gnu.org/software/diction/diction.html" | HOMEPAGE="http://www.gnu.org/software/diction/diction.html" |
SRC_URI="http://www.moria.de/~michael/diction/${P}.tar.gz" | SRC_URI="http://www.moria.de/~michael/diction/${P}.tar.gz" |
|
Lines 9-19
SRC_URI="http://www.moria.de/~michael/di
|
Link Here
|
|---|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86" | KEYWORDS="amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86" |
IUSE="" |
IUSE="unicode" |
| |
DEPEND="sys-devel/gettext" | DEPEND="sys-devel/gettext" |
RDEPEND="virtual/libintl" | RDEPEND="virtual/libintl" |
| |
|
src_unpack() { |
|
unpack ${A}; cd ${S} |
|
|
|
epatch ${FILESDIR}/${P}-style_fail_on_bad_lang.patch |
|
if use unicode; then |
|
iconv -f ISO-8859-1 -t UTF-8 de > de.new || die "charset conversion failed." |
|
mv de.new de |
|
fi |
|
} |
|
|
src_compile() { | src_compile() { |
./configure --prefix=/usr ||die | ./configure --prefix=/usr ||die |
emake || die | emake || die |