diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-04-18 06:10:07 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-04-18 06:10:07 +0000 |
commit | 6fb6cde1bcb5e370c7802ec522900e4b1ac19654 (patch) | |
tree | e74f012f4ebcdc890593dc9b59f12f534c6a6c1a /dev-tcltk/itk/itk-3.3.1_pre20090417-r1.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-6fb6cde1bcb5e370c7802ec522900e4b1ac19654.tar.gz gentoo-2-6fb6cde1bcb5e370c7802ec522900e4b1ac19654.tar.bz2 gentoo-2-6fb6cde1bcb5e370c7802ec522900e4b1ac19654.zip |
Fix env.d file's LDPATH points to wrong directory, #363791
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-tcltk/itk/itk-3.3.1_pre20090417-r1.ebuild')
-rw-r--r-- | dev-tcltk/itk/itk-3.3.1_pre20090417-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/itk/itk-3.3.1_pre20090417-r1.ebuild b/dev-tcltk/itk/itk-3.3.1_pre20090417-r1.ebuild new file mode 100644 index 000000000000..da4fdf469e6e --- /dev/null +++ b/dev-tcltk/itk/itk-3.3.1_pre20090417-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itk/itk-3.3.1_pre20090417-r1.ebuild,v 1.1 2011/04/18 06:10:07 jlec Exp $ + +inherit multilib versionator + +MY_PN="incrTcl" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" +HOMEPAGE="http://incrtcl.sourceforge.net/" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" + +IUSE="" +SLOT="0" +LICENSE="BSD" +KEYWORDS="alpha amd64 ia64 ppc sparc x86" + +DEPEND="dev-lang/tk + ~dev-tcltk/itcl-${PV}" + +S="${WORKDIR}/${MY_PN}/${PN}" + +src_compile() { + econf || die "econf failed" + emake CFLAGS_DEFAULT="${CFLAGS}" || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc ../{CHANGES,ChangeLog,INCOMPATIBLE,README,TODO} + + cat >> "${T}"/34${PN} <<- EOF + LDPATH="/usr/$(get_libdir)/${PN}3.4/" + EOF + doenvd "${T}"/34${PN} || die +} |