diff options
author | 2010-01-31 21:33:45 +0000 | |
---|---|---|
committer | 2010-01-31 21:33:45 +0000 | |
commit | de14620868252c57051d86ab1258ebc101b05f32 (patch) | |
tree | 38242d855493d41cdf846f21bab99bf74a3345a3 /x11-libs/xpa/xpa-2.1.12.ebuild | |
parent | remove commented out lines (diff) | |
download | gentoo-2-de14620868252c57051d86ab1258ebc101b05f32.tar.gz gentoo-2-de14620868252c57051d86ab1258ebc101b05f32.tar.bz2 gentoo-2-de14620868252c57051d86ab1258ebc101b05f32.zip |
Version bump
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/xpa/xpa-2.1.12.ebuild')
-rw-r--r-- | x11-libs/xpa/xpa-2.1.12.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-libs/xpa/xpa-2.1.12.ebuild b/x11-libs/xpa/xpa-2.1.12.ebuild new file mode 100644 index 000000000000..ca592ad81cb5 --- /dev/null +++ b/x11-libs/xpa/xpa-2.1.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/xpa/xpa-2.1.12.ebuild,v 1.1 2010/01/31 21:33:45 bicatali Exp $ + +EAPI=2 +inherit eutils autotools + +DESCRIPTION="Messaging system providing communication between programs" +HOMEPAGE="http://hea-www.harvard.edu/RD/xpa" +SRC_URI="http://hea-www.harvard.edu/saord/download/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" +RDEPEND="dev-lang/tcl + x11-libs/libXt + !<sci-astronomy/ds9-5.3" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.1.8-makefile.patch + sed -i -e "s:\${LINK}:\${LINK} ${LDFLAGS}:" mklib + eautoconf +} + +src_configure() { + econf \ + --enable-shared \ + --enable-threaded-xpans \ + --with-x \ + --with-tcl \ + --with-threads +} + +src_compile() { + emake shlib tclxpa || die "emake failed" +} + +src_install () { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + dosym libtclxpa.so.1.0 /usr/$(get_libdir)/libtclxpa.so + insinto /usr/$(get_libdir)/tclxpa + doins pkgIndex.tcl + mv "${D}"/usr/$(get_libdir)/libtclxpa* "${D}"/usr/$(get_libdir)/tclxpa/ + + dodoc README + if use doc; then + cd doc + insinto /usr/share/doc/${PF} + doins *.pdf || die + insinto /usr/share/doc/${PF}/html + doins *.html || die + fi +} |