# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-2.3.0-r2.ebuild,v 1.1 2003/06/16 04:08:44 zhen Exp $ MY_PV=${PV//./_} DESCRIPTION="Xerces-C++ is a validating XML parser written in a portable subset of C++." SRC_URI="http://xml.apache.org/dist/xerces-c/stable/${PN}-src_${MY_PV}.tar.gz" HOMEPAGE="http://xml.apache.org/xerces-c/index.html" DEPEND="virtual/glibc" #RDEPEND="" LICENSE="Apache-1.1" SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="doc" S=${WORKDIR}/${PN}-src_${MY_PV} src_compile() { export XERCESCROOT=${S} cd src/xercesc ./configure || die # emake does NOT work!!! make || die } src_install () { cd ${S}/src/xercesc make PREFIX="${D}/usr" install cd ${S}/lib dolib.so libxerces-c.so.23.0 into /usr/lib dosym libxerces-c.so.23.0 /usr/lib/libxerces-c.so if [ "`use doc`" ]; then dodir /usr/share/doc/${P} insinto /usr/share/doc/${P} doins ${S}/samples/* dohtml -r ${S}/doc/html/* fi cd ${S} dodoc STATUS LICENSE LICENSE.txt credits.txt version.incl xerces-c.spec unset XERCESCROOT }