diff options
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/itcl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-tcltk/itcl/itcl-3.4_beta1.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-tcltk/itcl/ChangeLog b/dev-tcltk/itcl/ChangeLog index 1e9982dc1329..201156daf2d1 100644 --- a/dev-tcltk/itcl/ChangeLog +++ b/dev-tcltk/itcl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tcltk/itcl # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.43 2010/04/02 09:30:54 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.44 2010/06/07 14:52:43 jlec Exp $ + +*itcl-3.4_beta1 (07 Jun 2010) + + 07 Jun 2010; Justin Lecher <jlec@gentoo.org> +itcl-3.4_beta1.ebuild: + Version Bump, adding LDPATH - fix for #317087 *itcl-3.3.1_pre20090417-r1 (02 Apr 2010) diff --git a/dev-tcltk/itcl/itcl-3.4_beta1.ebuild b/dev-tcltk/itcl/itcl-3.4_beta1.ebuild new file mode 100644 index 000000000000..ae89b5018805 --- /dev/null +++ b/dev-tcltk/itcl/itcl-3.4_beta1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.4_beta1.ebuild,v 1.1 2010/06/07 14:52:43 jlec Exp $ + +EAPI="3" + +inherit eutils multilib versionator + +MY_P="${PN}${PV/_beta/b}" + +DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" +HOMEPAGE="http://incrtcl.sourceforge.net/" +#SRC_URI="mirror://gentoo/${MY_P}.tar.gz" +SRC_URI="mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/$(get_version_component_range 1-2)/${MY_P}.tar.gz" +#http://downloads.sourceforge.net/project/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4/itcl3.4b1.tar.gz?use_mirror=heanet +#http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-source/ +IUSE="" +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" + +RDEPEND="dev-lang/tcl" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}$(get_version_component_range 1-2)" + +src_compile() { + # adjust install_name on darwin + if [[ ${CHOST} == *-darwin* ]]; then + sed -i \ + -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \ + "${S}"/Makefile || die 'sed failed' + fi + + emake CFLAGS_DEFAULT="${CFLAGS}" || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc CHANGES ChangeLog INCOMPATIBLE README TODO || die + + cat >> "${T}"/34${PN} <<- EOF + LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}$(get_version_component_range 1-2)/" + EOF + doenvd "${T}"/34${PN} || die +} |