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