summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-01-06 16:58:48 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-01-06 16:58:48 +0100
commitaa35f0eae51340a2a906f70b3bd5a64880031d89 (patch)
tree4fde88b5e44a2593dc3039f5347887d87d1fd475 /dev-tcltk
parentnet-wireless/unifi: drop EOL 5.6 series (diff)
downloadgentoo-aa35f0eae51340a2a906f70b3bd5a64880031d89.tar.gz
gentoo-aa35f0eae51340a2a906f70b3bd5a64880031d89.tar.bz2
gentoo-aa35f0eae51340a2a906f70b3bd5a64880031d89.zip
dev-tcltk/tklib: bump to 0.7
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tklib/Manifest1
-rw-r--r--dev-tcltk/tklib/tklib-0.7.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-tcltk/tklib/Manifest b/dev-tcltk/tklib/Manifest
index 0324259c6808..7ecc3e2a229e 100644
--- a/dev-tcltk/tklib/Manifest
+++ b/dev-tcltk/tklib/Manifest
@@ -1 +1,2 @@
DIST tklib-0.6.tar.bz2 5637725 BLAKE2B 9a0be896803c5e78e578d7c0b0bb38a742f29055708081dc858ea732895521c37fec35cc21ae544225409dff16d7b2cae93ddd0aa02150a4d7a2bd06e301759b SHA512 c4dbe6afe9d1d9c97edc154c807d429086e045f8b202870f21cafcd846b7ff759c8260d44d5e1e1322a0e7d3478c1dfb12d7a0c76200f583ac3bb85b21bf04b4
+DIST tklib-0.7.tar.bz2 5967953 BLAKE2B a7f6fa366045e78043652eea983f143cac78d847ce8b69575b1f0738b1da7e90cb3566b13412521edd62bf7beb3b92a582b2e3f0e71745bd95bd95232ff7d3ad SHA512 0322611c1dea8eebebe3f8f15ec33b695b074329ce9602aeb93d04985f486237f3ce89f1c42a5c148e12ae00b51be8c889c7db77977a0cc4204ac5eaad2cfec2
diff --git a/dev-tcltk/tklib/tklib-0.7.ebuild b/dev-tcltk/tklib/tklib-0.7.ebuild
new file mode 100644
index 000000000000..98ab8fe6a033
--- /dev/null
+++ b/dev-tcltk/tklib/tklib-0.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CODE=7832035fb9249dce
+
+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/${PN}/raw/${P}.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_compile() {
+ default
+ use doc && emake doc
+}
+
+src_install() {
+ HTML_DOCS=
+ if use doc; then
+ HTML_DOCS=doc/html/*
+ fi
+ default
+ dodoc DESCRIPTION.txt
+ 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
+}