diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-01-09 21:59:12 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-01-09 21:59:12 +0000 |
commit | 78d111850c45152ae96a95c3d8324573f7e25afd (patch) | |
tree | 27bd5e3cddc64f49d642145924ae24e07809ed27 /dev-tcltk | |
parent | vdr-plugin-2.eclass; eapi=5 (diff) | |
download | gentoo-2-78d111850c45152ae96a95c3d8324573f7e25afd.tar.gz gentoo-2-78d111850c45152ae96a95c3d8324573f7e25afd.tar.bz2 gentoo-2-78d111850c45152ae96a95c3d8324573f7e25afd.zip |
dev-tcltk/itcl: Version Bump
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/itcl/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tcltk/itcl/itcl-4.0.0.ebuild | 57 | ||||
-rw-r--r-- | dev-tcltk/itcl/metadata.xml | 2 |
3 files changed, 66 insertions, 3 deletions
diff --git a/dev-tcltk/itcl/ChangeLog b/dev-tcltk/itcl/ChangeLog index 821addb30c79..ad225f5f62e7 100644 --- a/dev-tcltk/itcl/ChangeLog +++ b/dev-tcltk/itcl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-tcltk/itcl -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.56 2012/10/07 18:04:26 jlec Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.57 2013/01/09 21:59:12 jlec Exp $ + +*itcl-4.0.0 (09 Jan 2013) + + 09 Jan 2013; Justin Lecher <jlec@gentoo.org> +itcl-4.0.0.ebuild, + metadata.xml: + Version Bump *itcl-3.4.1 (07 Oct 2012) diff --git a/dev-tcltk/itcl/itcl-4.0.0.ebuild b/dev-tcltk/itcl/itcl-4.0.0.ebuild new file mode 100644 index 000000000000..c0c2d81b9651 --- /dev/null +++ b/dev-tcltk/itcl/itcl-4.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-4.0.0.ebuild,v 1.1 2013/01/09 21:59:12 jlec Exp $ + +EAPI=4 + +inherit eutils multilib versionator + +MY_P="${PN}${PV}" +TCL_VER="8.6.0" + +DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" +HOMEPAGE="http://incrtcl.sourceforge.net/" +#SRC_URI="mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/$(get_version_component_range 1-2)/${MY_P}.tar.gz" +SRC_URI="mirror://sourceforge/project/tcl/Tcl/${TCL_VER}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +RDEPEND=">=dev-lang/tcl-8.6" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}${PV}" + +# somehow broken +RESTRICT=test + +src_configure() { + econf \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + --with-tclinclude="${EPREFIX}"/usr/include \ + --disable-rpath +} + +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 + + sed 's:-pipe::g' -i Makefile || die + + emake CFLAGS_DEFAULT="${CFLAGS}" +} + +src_install() { + default + + cat >> "${T}"/34${PN} <<- EOF + LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}$(get_version_component_range 1-2)/" + EOF + doenvd "${T}"/34${PN} +} diff --git a/dev-tcltk/itcl/metadata.xml b/dev-tcltk/itcl/metadata.xml index 815cc916f2b6..70ac40499556 100644 --- a/dev-tcltk/itcl/metadata.xml +++ b/dev-tcltk/itcl/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>tcltk</herd> + <herd>tcltk</herd> </pkgmetadata> |