summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2006-09-22 07:15:43 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2006-09-22 07:15:43 +0000
commit3c860bbb7ef014c2e7c06d7ed47d1e4e3608a1a9 (patch)
treece983bd47b62b78bc8fae721ccbad6e2ea646527 /dev-tcltk
parentStable x86 (diff)
downloadgentoo-2-3c860bbb7ef014c2e7c06d7ed47d1e4e3608a1a9.tar.gz
gentoo-2-3c860bbb7ef014c2e7c06d7ed47d1e4e3608a1a9.tar.bz2
gentoo-2-3c860bbb7ef014c2e7c06d7ed47d1e4e3608a1a9.zip
Fixed configure fails, #142863.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tdom/ChangeLog9
-rw-r--r--dev-tcltk/tdom/files/digest-tdom-0.8.02
-rw-r--r--dev-tcltk/tdom/files/digest-tdom-0.8.0-r13
-rw-r--r--dev-tcltk/tdom/tdom-0.8.0-r1.ebuild59
4 files changed, 71 insertions, 2 deletions
diff --git a/dev-tcltk/tdom/ChangeLog b/dev-tcltk/tdom/ChangeLog
index d8f791c65312..00dbfa3318bd 100644
--- a/dev-tcltk/tdom/ChangeLog
+++ b/dev-tcltk/tdom/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tcltk/tdom
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/ChangeLog,v 1.1 2005/03/27 02:09:48 matsuu Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/ChangeLog,v 1.2 2006/09/22 07:15:43 matsuu Exp $
+
+*tdom-0.8.0-r1 (22 Sep 2006)
+
+ 22 Sep 2006; MATSUU Takuto <matsuu@gentoo.org> +tdom-0.8.0-r1.ebuild:
+ Fixed configure fails, #142863.
*tdom-0.8.0 (27 Mar 2005)
diff --git a/dev-tcltk/tdom/files/digest-tdom-0.8.0 b/dev-tcltk/tdom/files/digest-tdom-0.8.0
index d969191d0da6..e6d90d2120a5 100644
--- a/dev-tcltk/tdom/files/digest-tdom-0.8.0
+++ b/dev-tcltk/tdom/files/digest-tdom-0.8.0
@@ -1 +1,3 @@
MD5 90626edf33b7a77229a23b9132f74977 tDOM-0.8.0.tar.gz 886455
+RMD160 9eddcd41898b01f0f6cf4d60a154ebe7fec1d47c tDOM-0.8.0.tar.gz 886455
+SHA256 1a05313dac523f0eef5b0b4e6b801ede7089badef9921293ddad822921f74d2f tDOM-0.8.0.tar.gz 886455
diff --git a/dev-tcltk/tdom/files/digest-tdom-0.8.0-r1 b/dev-tcltk/tdom/files/digest-tdom-0.8.0-r1
new file mode 100644
index 000000000000..e6d90d2120a5
--- /dev/null
+++ b/dev-tcltk/tdom/files/digest-tdom-0.8.0-r1
@@ -0,0 +1,3 @@
+MD5 90626edf33b7a77229a23b9132f74977 tDOM-0.8.0.tar.gz 886455
+RMD160 9eddcd41898b01f0f6cf4d60a154ebe7fec1d47c tDOM-0.8.0.tar.gz 886455
+SHA256 1a05313dac523f0eef5b0b4e6b801ede7089badef9921293ddad822921f74d2f tDOM-0.8.0.tar.gz 886455
diff --git a/dev-tcltk/tdom/tdom-0.8.0-r1.ebuild b/dev-tcltk/tdom/tdom-0.8.0-r1.ebuild
new file mode 100644
index 000000000000..a2e6518fa05d
--- /dev/null
+++ b/dev-tcltk/tdom/tdom-0.8.0-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/tdom-0.8.0-r1.ebuild,v 1.1 2006/09/22 07:15:43 matsuu Exp $
+
+MY_P="tDOM-${PV}"
+DESCRIPTION="XML manipulation library for TCL"
+HOMEPAGE="http://www.tdom.org/"
+SRC_URI="http://www.tdom.org/files/${MY_P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="threads"
+
+DEPEND=">=dev-lang/tcl-8.4.3"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ sed -i -e "s/relid'/relid/" configure* tclconfig/tcl.m4 \
+ extensions/tnc/configure extensions/example/{configure,tcl.m4} || die
+}
+
+src_compile() {
+ local myconf=""
+
+ myconf="${myconf} --enable-shared `use_enable threads`"
+
+ cd ${S}/unix
+ ECONF_SOURCE=".." econf ${myconf} || die "failed to configure"
+ emake || die "failed to compile tdom"
+
+ # compile tdomhtml
+ cd ${S}/extensions/tdomhtml
+ econf || die "fail to configure tdomhtml"
+ emake || die "fail to compile tdomhtml"
+
+ # compile tnc
+ cd ${S}/extensions/tnc
+ econf ${myconf} || die "failed to configure tnc"
+ emake || die "failed to compile tnc"
+}
+
+src_install() {
+ cd "${S}"/unix
+ emake DESTDIR="${D}" install || die
+
+ cd "${S}"/extensions/tdomhtml
+ emake DESTDIR="${D}" install || die
+
+ cd "${S}"/extensions/tnc
+ emake DESTDIR="${D}" install || die
+
+ cd "${S}"
+ dodoc CHANGES ChangeLog README*
+}