summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-21 09:18:52 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-21 09:18:52 +0000
commitff9363b5739f784ee04f75272ebb986c798913c1 (patch)
treeeed70c46673448233fc4b9e42fa3a96dcc064861 /dev-libs/xalan-c
parenthppa repoman (diff)
downloadgentoo-2-ff9363b5739f784ee04f75272ebb986c798913c1.tar.gz
gentoo-2-ff9363b5739f784ee04f75272ebb986c798913c1.tar.bz2
gentoo-2-ff9363b5739f784ee04f75272ebb986c798913c1.zip
initial ebuild #36836
Diffstat (limited to 'dev-libs/xalan-c')
-rw-r--r--dev-libs/xalan-c/ChangeLog8
-rw-r--r--dev-libs/xalan-c/files/digest-xalan-c-1.7.01
-rw-r--r--dev-libs/xalan-c/xalan-c-1.7.0.ebuild41
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/xalan-c/ChangeLog b/dev-libs/xalan-c/ChangeLog
new file mode 100644
index 000000000000..849c9ac3e854
--- /dev/null
+++ b/dev-libs/xalan-c/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-libs/xalan-c
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/ChangeLog,v 1.1 2004/02/21 09:18:51 vapier Exp $
+
+*xalan-c-1.7.0 (21 Feb 2004)
+
+ 21 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Chris Mayo #36836.
diff --git a/dev-libs/xalan-c/files/digest-xalan-c-1.7.0 b/dev-libs/xalan-c/files/digest-xalan-c-1.7.0
new file mode 100644
index 000000000000..d17965a15f75
--- /dev/null
+++ b/dev-libs/xalan-c/files/digest-xalan-c-1.7.0
@@ -0,0 +1 @@
+MD5 911a952fb1cccc0d97b54ff32b9a52f7 Xalan-C_1_7_0-src.tar.gz 1357604
diff --git a/dev-libs/xalan-c/xalan-c-1.7.0.ebuild b/dev-libs/xalan-c/xalan-c-1.7.0.ebuild
new file mode 100644
index 000000000000..2cbe4bf48140
--- /dev/null
+++ b/dev-libs/xalan-c/xalan-c-1.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/xalan-c-1.7.0.ebuild,v 1.1 2004/02/21 09:18:51 vapier Exp $
+
+MY_PV=${PV//./_}
+DESCRIPTION="XSLT processor for transforming XML into HTML, text, or other XML types"
+HOMEPAGE="http://xml.apache.org/xalan-c/"
+SRC_URI="ftp://apache.mirrors.pair.com/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz
+ http://apache.mirrors.hoobly.com/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz
+ http://www.tux.org/pub/net/apache/dist/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=dev-libs/xerces-c-2.4.0"
+
+S=${WORKDIR}/xml-xalan/c
+
+src_compile() {
+ export XALANCROOT=${S}
+ export XERCESCROOT="/usr/include/xercesc"
+ ./runConfigure -p linux -c gcc -x c++
+ emake -j1 || die
+}
+
+src_install() {
+ export XALANCROOT=${S}
+ make DESTDIR=${D} install || die
+
+ if use doc ; then
+ dodir /usr/share/doc/${P}
+ cp -r ${S}/samples ${D}/usr/share/doc/${PF}
+ find ${D}/usr/share/doc/${PF} -type d -name CVS -exec rm -rf '{}' \; >& /dev/null
+ dohtml -r doc/html
+ fi
+
+ dodoc README version.incl
+ dohtml readme.html
+}