summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-07 12:06:39 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-07 12:06:39 +0000
commit38686bbd8ec841fbc12bf2462cbd10c68fa43f27 (patch)
treee0a1f706c1ed58b6151a397bdf0127fb7c156d6e /dev-tcltk/tclxml/tclxml-3.0-r1.ebuild
parentReomved possible dependency on dev-tcltk/tclxml-expat (diff)
downloadhistorical-38686bbd8ec841fbc12bf2462cbd10c68fa43f27.tar.gz
historical-38686bbd8ec841fbc12bf2462cbd10c68fa43f27.tar.bz2
historical-38686bbd8ec841fbc12bf2462cbd10c68fa43f27.zip
QA and removed old versions
Package-Manager: portage-2.2.0_alpha7/cvs/Linux x86_64
Diffstat (limited to 'dev-tcltk/tclxml/tclxml-3.0-r1.ebuild')
-rw-r--r--dev-tcltk/tclxml/tclxml-3.0-r1.ebuild37
1 files changed, 19 insertions, 18 deletions
diff --git a/dev-tcltk/tclxml/tclxml-3.0-r1.ebuild b/dev-tcltk/tclxml/tclxml-3.0-r1.ebuild
index c04605f98e6a..4d61f53be7d5 100644
--- a/dev-tcltk/tclxml/tclxml-3.0-r1.ebuild
+++ b/dev-tcltk/tclxml/tclxml-3.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml/tclxml-3.0-r1.ebuild,v 1.6 2007/05/18 22:06:54 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml/tclxml-3.0-r1.ebuild,v 1.7 2010/12/07 12:06:39 jlec Exp $
inherit eutils
@@ -18,15 +18,16 @@ DEPEND=">=dev-lang/tcl-8.2
xml? ( >=dev-libs/libxml2-2.6.9 )
expat? ( dev-libs/expat )
!dev-tcltk/tclxml-expat"
+RDEPEND="${DEPEND}"
MAKEOPTS="${MAKEOPTS} -j1"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
- epatch ${FILESDIR}/${PN}-3_configure.patch
- epatch ${FILESDIR}/${PN}-3_include_path.patch
+ epatch "${FILESDIR}"/${PN}-3_configure.patch
+ epatch "${FILESDIR}"/${PN}-3_include_path.patch
}
src_compile() {
@@ -34,34 +35,34 @@ src_compile() {
use threads && myconf="${myconf} --enable-threads"
- econf ${myconf} || die
+ econf ${myconf}
emake || die
if use xml ; then
- cd ${S}/libxml2
- econf ${myconf} --with-Tclxml=.. || die
+ cd "${S}"/libxml2
+ econf ${myconf} --with-Tclxml=..
emake || die
fi
if use expat ; then
- cd ${S}/expat
- econf ${myconf} --with-Tclxml=.. || die
+ cd "${S}"/expat
+ econf ${myconf} --with-Tclxml=..
emake || die
fi
}
src_install() {
- make DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
if use xml ; then
- cd ${S}/libxml2
- make DESTDIR=${D} install || die
+ cd "${S}"/libxml2
+ emake DESTDIR="${D}" install || die
fi
if use expat ; then
- cd ${S}/expat
- make DESTDIR=${D} install || die
+ cd "${S}"/expat
+ emake DESTDIR="${D}" install || die
fi
- cd ${S}
- dodoc ANNOUNCE ChangeLog LICENSE README RELNOTES
- dohtml doc/*.html
+ cd "${S}"
+ dodoc ANNOUNCE ChangeLog README RELNOTES || die
+ dohtml doc/*.html || die
}