Files
@ 973eab045010
Branch filter:
Location: ohnobinki_overlay/dev-tcltk/tcldom/tcldom-3.1.ebuild - annotation
973eab045010
1.6 KiB
application/vnd.gentoo.ebuild
dev-util/cmake: Add a patch to cmake which enables kde-base/kdelibs to compile on systems where /usr/lib is neither a symlink to /usr/lib64 or /usr/lib32. This adds a FIND_LIBRARY_USE_LIB32_PATHS global property which is an analog to the FIND_LIBRARY_USE_LIB64_PATHS property.
(Portage version: 2.2_rc69-r1/hg/Linux x86_64, signed Manifest commit)
(Portage version: 2.2_rc69-r1/hg/Linux x86_64, signed Manifest commit)
c39425525b0a 3816047badb7 3816047badb7 3816047badb7 c39425525b0a c39425525b0a c39425525b0a 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 c39425525b0a 3816047badb7 c39425525b0a c39425525b0a 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 c39425525b0a c39425525b0a 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 c39425525b0a 3816047badb7 3816047badb7 3816047badb7 c39425525b0a c39425525b0a c39425525b0a c39425525b0a c39425525b0a c39425525b0a c39425525b0a c39425525b0a c39425525b0a c39425525b0a 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 c39425525b0a 3816047badb7 3816047badb7 3816047badb7 c39425525b0a 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 3816047badb7 | # Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcldom/tcldom-3.1.ebuild,v 1.2 2006/06/03 19:56:32 matsuu Exp $
EAPI="2"
inherit eutils multilib
DESCRIPTION="Document Object Model For Tcl"
HOMEPAGE="http://tclxml.sourceforge.net/tcldom.html"
SRC_URI="mirror://sourceforge/tclxml/${P}.tar.gz"
IUSE="expat xml threads"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
DEPEND=">=dev-lang/tcl-8.3.3
>=dev-tcltk/tcllib-1.2
~dev-tcltk/tclxml-3.1
expat? ( dev-libs/expat )"
RDEPEND="${DEPEND}"
src_prepare() {
cd library
sed -e "s/@VERSION@/${PV}/" \
-e "s/@Tcldom_LIB_FILE@@/UNSPECIFIED/" \
< pkgIndex.tcl.in > pkgIndex.tcl
# bug 131148
sed -i -e "s/relid'/relid/" "${S}"/*/{configure,tcl.m4} || die
}
src_configure() {
local myconf="--with-tcl=/usr/$(get_libdir)"
use threads && myconf="${myconf} --enable-threads"
if use xml ; then
cd "${S}/src-libxml2"
econf ${myconf} --with-libxml2-lib=/usr/$(get_libdir)
fi
if use expat ; then
cd "${S}/src"
econf ${myconf}
fi
}
src_compile() {
if use xml ; then
emake -C "${S}"/src-libxml2 || die
fi
if use expat ; then
emake -C "${S}/src" || die
fi
}
src_install() {
insinto /usr/$(get_libdir)/${PN}${PV}
doins library/*.tcl || die
if use xml ; then
cd "${S}/src-libxml2"
emake DESTDIR="${D}" install || die
fi
if use expat ; then
cd "${S}/src"
emake DESTDIR="${D}" install || die
fi
cd "${S}"
dodoc ChangeLog LICENSE README RELNOTES
docinto examples; dodoc examples/*
dohtml docs/*.html
}
|