summaryrefslogtreecommitdiff
blob: fdebe14cb858edddb31d2d3db3aabfeb75404355 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/migemo/migemo-0.40-r1.ebuild,v 1.4 2003/12/31 20:03:46 usata Exp $

inherit elisp

IUSE=""

DESCRIPTION="Migemo is Japanese Incremental Search Tool"
HOMEPAGE="http://migemo.namazu.org/"
SRC_URI="http://migemo.namazu.org/stable/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="x86 alpha sparc ppc"
SLOT="0"
S=${WORKDIR}/${P}

DEPEND="${DEPEND}
	app-emacs/apel
	>=dev-lang/ruby-1.6
	dev-ruby/ruby-romkan
	dev-ruby/ruby-bsearch
	app-dicts/migemo-dict"

src_unpack() {

	unpack ${A}

	cp /usr/share/migemo/migemo-dict ${S}

}

src_compile() {

	econf || die
	# emake b0rks
	emake -j1 || die

}

src_install() {

	make DESTDIR=${D} install || die

	rm ${D}/usr/share/migemo/migemo-dict

	elisp-site-file-install ${FILESDIR}/50migemo-gentoo.el
	dodoc AUTHORS ChangeLog INSTALL README

}