summaryrefslogtreecommitdiff
blob: 00d860fe2f4d85346a8685f6818c8d8f7bfd5044 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libjconv/libjconv-2.9.ebuild,v 1.7 2005/01/01 14:33:49 eradicator Exp $

DESCRIPTION="A library for converting between kanji encodings"
HOMEPAGE="http://ghost.math.sci.hokudai.ac.jp/misc/${PN}"
SRC_URI="http://ghost.math.sci.hokudai.ac.jp/misc/${PN}/${P}.tar.gz"

LICENSE="LGPL-2"
IUSE=""
KEYWORDS="x86"
SLOT="0"

DEPEND="virtual/libc"

src_compile() {
	emake || die
}

src_install() {
	into /usr
	dodir /usr/include
	insinto /usr/include
	doins jconv.h

	dolib libjconv.so
	( cd ${D}/usr/lib ; chmod 755 libjconv.so )
	dolib libjconv.a

	dobin jconv
	dodir /etc/libjconv
	insinto /etc/libjconv
	doins default.conf
	dodoc README.old
	dodoc libjconv.html
}