summaryrefslogtreecommitdiff
path: root/dev-tcltk/tcllib/tcllib-1.21.ebuild
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-09-07 20:00:48 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-09-07 20:00:48 +0200
commit48cb15603d66c57cb1934affb45e0807cf31e66b (patch)
tree5b9e0d6a404d2a54e540ac038bed2fed49171f0d /dev-tcltk/tcllib/tcllib-1.21.ebuild
parent1fe65e508d2ceb38c5b757b912f110cd76f9664f (diff)
downloadgentoo-48cb15603d66c57cb1934affb45e0807cf31e66b.tar.gz
gentoo-48cb15603d66c57cb1934affb45e0807cf31e66b.tar.bz2
gentoo-48cb15603d66c57cb1934affb45e0807cf31e66b.zip
dev-tcltk/tcllib: 1.21 bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tcllib/tcllib-1.21.ebuild')
-rw-r--r--dev-tcltk/tcllib/tcllib-1.21.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-tcltk/tcllib/tcllib-1.21.ebuild b/dev-tcltk/tcllib/tcllib-1.21.ebuild
new file mode 100644
index 000000000000..1e975342d4b7
--- /dev/null
+++ b/dev-tcltk/tcllib/tcllib-1.21.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit virtualx
+
+DESCRIPTION="Tcl Standard Library"
+HOMEPAGE="http://www.tcl.tk/software/tcllib/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-lang/tcl:0=
+ dev-tcltk/tdom
+ "
+DEPEND="${RDEPEND}"
+
+DOCS=(
+ ChangeLog DESCRIPTION.txt README.md devdoc/README.developer
+ devdoc/critcl-tcllib.txt devdoc/dirlayout_install.txt
+ devdoc/indexing.txt
+)
+HTML_DOCS=( idoc/www )
+
+PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
+src_prepare() {
+ default
+ rm modules/httpd/httpd.test || die
+}
+
+src_test() {
+ USER= virtx emake test_batch
+}
+
+src_install() {
+ default
+
+ if use examples ; then
+ for f in $(find examples -type f); do
+ docinto $(dirname $f)
+ dodoc $f
+ done
+ fi
+}