summaryrefslogtreecommitdiff
blob: aeb0d02b31d546e39e72f216ae151509716341e6 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.3 2003/06/29 22:12:04 aliz Exp $

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

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

DEPEND="virtual/glibc"

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
}