Nice library for developers interested in International support. IBM Public
License. I would
suggest dev-libs/icu
file: icu-2.0.ebuild
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Charles Kerr <punt@kerrskorner.org>
# /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34
drobbins Exp
S=${WORKDIR}/${PN}/source
DESCRIPTION="IBM Internationalization Components for Unicode"
SRC_URI="http://oss.software.ibm.com/icu/download/2.0/${P}.tgz"
HOMEPAGE="http://oss.software.ibm.com/icu/index.html"
DEPEND=""
RDEPEND=""
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
emake || die
}
src_install () {
make DESTDIR=${D} install || die
dodoc readme.html
}
Since "dodoc" compresses the target file, "dohtml" is usually more appropriate
for html files.
Good job adjusting S appropriately. Unfortunately this messed up your "dodoc"
line, I think. Did you check to make sure the readme was installed correctly?
I would also recommend, in general, installing the license, especially when it's
not one of the normal ones.
I added a reference to ${PV} (package version) instead of hard-coding "2.0" in
the SRC_URI path. I removed the infodir line, since this package contains no
info files.
I couldn't see any reason to leave it out, so I included "--enable-layout".
Thanks for the great ebuild; sorry it took us so long to get to it.
--Chouser