Bug 124 - International Components for Unicode by IBM Developerworks
Bug#: 124 Product:  Gentoo Linux Version: 1.0 RC6 r14 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: chouser@gentoo.org Reported By: punt@kerrskorner.org
Component: Development
URL: 
Summary: International Components for Unicode by IBM Developerworks
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2002-01-10 12:06 0000
Description:   Opened: 2002-01-10 12:06 0000
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
}

------- Comment #1 From chouser 2002-02-24 18:39:01 0000 -------
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