# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types" MY_P="Xalan-C_1_6" HOMEPAGE="http://xml.apache.org/xalan-c/index.html" SRC_URI="http://www.apache.org/dist/xml/xalan-c/${MY_P}-src.tar.gz" LICENSE="Apache-1.1" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=xerces-c-2.4.0" S=${WORKDIR}/xml-xalan/c src_compile() { cd src/xalanc export XALANCROOT="${S}" echo ${XALANCROOT} export XERCESCROOT="/usr/include/xercesc" ./runConfigure -p linux -c gcc -x c++ make || die unset XALANCROOT unset XERCESCROOT } src_install() { into /usr exeinto /usr/bin dolib ${S}/lib/libxalan-c.so.16.0 || die doexe ${S}/bin/Xalan || die dosym /usr/lib/libxalan-c.so.16.0 /usr/lib/libxalan-c.so || die dosym /usr/lib/libxalan-c.so.16.0 /usr/lib/libxalan-c.so.16 || die dosym /usr/bin/Xalan /usr/bin/xalan || die }