summaryrefslogtreecommitdiff
blob: e995c7fbf7724f9e709e3640e909d2092fe511d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-ChaSen/Text-ChaSen-1.03-r1.ebuild,v 1.8 2006/08/06 00:20:34 mcummings Exp $

inherit perl-module eutils

DESCRIPTION="Chasen library module for Perl."
SRC_URI="http://www.daionet.gr.jp/~knok/chasen/${P}.tar.gz
	http://www.daionet.gr.jp/~knok/chasen/ChaSen.pm-1.03-pod-fix.diff"
HOMEPAGE="http://www.daionet.gr.jp/~knok/chasen/"

SLOT="0"
LICENSE="chasen"
KEYWORDS="x86 amd64 ~ppc sparc"
IUSE=""

DEPEND=">=app-text/chasen-2.2.9
	dev-lang/perl"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${DISTDIR}/ChaSen.pm-1.03-pod-fix.diff
	sed -i -e '5a"LD" => "g++",' Makefile.PL || die
}