diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tcltk/bwidget/bwidget-1.9.8.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tcltk/bwidget/bwidget-1.9.8.ebuild')
-rw-r--r-- | dev-tcltk/bwidget/bwidget-1.9.8.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-tcltk/bwidget/bwidget-1.9.8.ebuild b/dev-tcltk/bwidget/bwidget-1.9.8.ebuild new file mode 100644 index 000000000000..f2838cb8f07f --- /dev/null +++ b/dev-tcltk/bwidget/bwidget-1.9.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib virtualx + +MY_PN=${PN/bw/BW} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="High-level widget set for Tcl/Tk" +HOMEPAGE="http://tcllib.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/tcllib/${MY_PN}/${PV}/${P}.tar.gz" + +LICENSE="tcltk" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="doc" + +DEPEND="dev-lang/tk:0" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-test.patch +} + +src_test() { + VIRTUALX_COMMAND=tclsh + virtualmake tests/entry.test +} + +src_install() { + insinto /usr/$(get_libdir)/${P} + doins *.tcl + doins -r images lang + + insinto /usr/share/doc/${PF}/ + doins -r demo + dodoc ChangeLog README.txt + + use doc && dohtml BWman/* +} |