blob: 9e908b7e6b8f25d54ee3d0fce51d638094f09b76 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmoe/libmoe-1.5.8.ebuild,v 1.4 2005/04/09 20:57:10 hansmi Exp $
inherit toolchain-funcs
DESCRIPTION="multi octet character encoding handling library"
HOMEPAGE="http://pub.ks-and-ks.ne.jp/prog/libmoe/"
SRC_URI="http://pub.ks-and-ks.ne.jp/prog/pub/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="x86 ppc sparc -alpha"
IUSE=""
DEPEND="virtual/libc
dev-lang/perl"
src_compile() {
emake CF="${CFLAGS} -I." \
LF="${LDFLAGS} -shared"\
CC="$(tc-getCC)" || die
}
src_install() {
make DESTDIR=${D} \
PREFIX=/usr \
MAN=/usr/share/man \
install-lib install-man || die
exeinto /usr/bin
doexe mbconv
dolib.so libmoe.so.${PV} || die
dosym /usr/lib/libmoe.so.${PV} /usr/lib/libmoe.so.${PV%%.*}
dosym /usr/lib/libmoe.so.${PV} /usr/lib/libmoe.so.${PV%.*}
dosym /usr/lib/libmoe.so.${PV} /usr/lib/libmoe.so
dodoc ChangeLog libmoe.shtml
}
|