Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124

Summary: International Components for Unicode by IBM Developerworks
Product: Gentoo Linux Reporter: Charles Kerr <punt>
Component: [OLD] DevelopmentAssignee: chouser (RETIRED) <chouser>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD
Priority: High    
Version: 1.0 RC6 r14   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Charles Kerr 2002-01-10 12:06:43 UTC
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 chouser (RETIRED) gentoo-dev 2002-02-24 18:39:01 UTC
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