diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
commit | 957235cf19a691360c720f7913672adda4258ed0 (patch) | |
tree | 812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /dev-tcltk/iwidgets/iwidgets-4.1.1.ebuild | |
parent | 62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff) |
gentoo resync : 07.10.2018
Diffstat (limited to 'dev-tcltk/iwidgets/iwidgets-4.1.1.ebuild')
-rw-r--r-- | dev-tcltk/iwidgets/iwidgets-4.1.1.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-tcltk/iwidgets/iwidgets-4.1.1.ebuild b/dev-tcltk/iwidgets/iwidgets-4.1.1.ebuild new file mode 100644 index 000000000000..5c4d8362e2ed --- /dev/null +++ b/dev-tcltk/iwidgets/iwidgets-4.1.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib + +BASE_URI_ITCLTK="mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-4-source" +ITCL_VER=4.0.3 +ITK_VER=4.0.1 + +DESCRIPTION="Widget collection for incrTcl/incrTk" +HOMEPAGE="http://incrtcl.sourceforge.net/itcl/" +SRC_URI=" + mirror://sourceforge/incrtcl/%5BIncr%20Widgets%5D/${PV}/${P}.tar.gz + ${BASE_URI_ITCLTK}/itcl%20${ITCL_VER}/itcl${ITCL_VER}.tar.gz + ${BASE_URI_ITCLTK}/itk%20${ITK_VER}/itk${ITK_VER}.tar.gz" + +LICENSE="HPND Old-MIT tcltk" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=" + >=dev-tcltk/itcl-${ITCL_VER} + >=dev-tcltk/itk-${ITK_VER}" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +src_prepare() { + default + sed \ + -e "/^\(LIB\|SCRIPT\)_INSTALL_DIR =/s|lib|$(get_libdir)|" \ + -i Makefile.in || die + sed -i \ + -e "/require/s:Itk:itk:" \ + iwidgets.tcl.in + + # Bug 115470 + rm doc/panedwindow.n +} + +src_configure() { + (cd ../itcl${ITCL_VER}; ./configure) + econf \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + --with-tk="${EPREFIX}"/usr/$(get_libdir) \ + --with-itcl="${WORKDIR}"/itcl${ITCL_VER} \ + --with-itk="${WORKDIR}"/itk${ITK_VER} +} + +src_compile() { + : +} + +src_install() { + default + + # demos are in the wrong place: + mv "${ED}/usr/$(get_libdir)/${PN}${PV}/demos" "${ED}/usr/share/doc/${PF}/" +} |