summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-11-09 21:43:12 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-11-09 21:44:09 +0100
commit6109f1ddfefc30b28c59b0a35a05f78b52af507c (patch)
treeaa1f4d89e7529aa04b82ab1273d65c33fde42a77 /dev-tcltk/tklib
parentsys-boot/gnu-efi: drop 3.0.18-r3 (diff)
downloadgentoo-6109f1ddfefc30b28c59b0a35a05f78b52af507c.tar.gz
gentoo-6109f1ddfefc30b28c59b0a35a05f78b52af507c.tar.bz2
gentoo-6109f1ddfefc30b28c59b0a35a05f78b52af507c.zip
dev-tcltk/tklib: add 0.8
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tklib')
-rw-r--r--dev-tcltk/tklib/Manifest1
-rw-r--r--dev-tcltk/tklib/tklib-0.8.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-tcltk/tklib/Manifest b/dev-tcltk/tklib/Manifest
index a57116afb222..bd228c603d25 100644
--- a/dev-tcltk/tklib/Manifest
+++ b/dev-tcltk/tklib/Manifest
@@ -1 +1,2 @@
DIST tklib-0.7.tar.bz2 5967953 BLAKE2B a7f6fa366045e78043652eea983f143cac78d847ce8b69575b1f0738b1da7e90cb3566b13412521edd62bf7beb3b92a582b2e3f0e71745bd95bd95232ff7d3ad SHA512 0322611c1dea8eebebe3f8f15ec33b695b074329ce9602aeb93d04985f486237f3ce89f1c42a5c148e12ae00b51be8c889c7db77977a0cc4204ac5eaad2cfec2
+DIST tklib-0.8.tar.bz2 7807323 BLAKE2B 2747736d13b9b276c4dbd113f785e48fbcfd703c2a2344ca817f0e4e407d97f01a997b0907ab741bc613682f55999d8517cf90f1ef3403d2a534c2e754024b93 SHA512 935612636f53d78fc019c2e7b32697dfbe576e2638f8bee7848e25eaa31212f720bdf3449c7981314eebc341ff47f2ddcdcb64e2f257c896f6ff970098724ff8
diff --git a/dev-tcltk/tklib/tklib-0.8.ebuild b/dev-tcltk/tklib/tklib-0.8.ebuild
new file mode 100644
index 000000000000..bac43a226108
--- /dev/null
+++ b/dev-tcltk/tklib/tklib-0.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CODE=3476243c3e
+
+DESCRIPTION="Collection of utility modules for Tk, and a companion to Tcllib"
+HOMEPAGE="http://www.tcl.tk/software/tklib"
+SRC_URI="https://core.tcl-lang.org/${PN}/raw/${P}.tar.bz2?name=${CODE} -> ${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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
+}