forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <[email protected]>
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |