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/tklib/tklib-0.6-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tcltk/tklib/tklib-0.6-r2.ebuild')
-rw-r--r-- | dev-tcltk/tklib/tklib-0.6-r2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/tklib/tklib-0.6-r2.ebuild b/dev-tcltk/tklib/tklib-0.6-r2.ebuild new file mode 100644 index 000000000000..9231c58cf5e7 --- /dev/null +++ b/dev-tcltk/tklib/tklib-0.6-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib + +CODE=6a397dec6188148cf6a6fe290cf2bd92a9190c42 + +DESCRIPTION="Collection of utility modules for Tk, and a companion to Tcllib" +HOMEPAGE="http://www.tcl.tk/software/tklib" +SRC_URI="http://core.tcl.tk/tklib/raw/tklib-0.6.tar.bz2?name=${CODE} -> ${P}.tar.bz2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" +IUSE="doc" + +RDEPEND=" + dev-lang/tk:0 + dev-tcltk/tcllib" +DEPEND="${RDEPEND}" + +src_install() { + default + if use doc; then + emake DESTDIR="${D}" doc + dohtml doc/html/* + fi + dodoc DESCRIPTION.txt README* + dosym ${PN}${PV} /usr/$(get_libdir)/${PN} + + mv "${ED}"/usr/share/man/mann/datefield{,-${PN}}.n || die + mv "${ED}"/usr/share/man/mann/menubar{,-${PN}}.n || die + mv "${ED}"/usr/bin/dia{,-${PN}} || die +} |