You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libmoe/libmoe-1.5.8.ebuild

40 lines
996 B

# Copyright 1999-2009 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.5 2009/09/23 17:23:01 patrick 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="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
}