summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/iwidgets/Manifest2
-rw-r--r--dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild22
2 files changed, 13 insertions, 11 deletions
diff --git a/dev-tcltk/iwidgets/Manifest b/dev-tcltk/iwidgets/Manifest
index fc1c4c0a9f90..c40fff60b3b0 100644
--- a/dev-tcltk/iwidgets/Manifest
+++ b/dev-tcltk/iwidgets/Manifest
@@ -1 +1,3 @@
+DIST itcl4.1.1.tar.gz 436718 BLAKE2B 50f5518460dc6569edcd0229b71439cb10a724b50c31387ebd1ffa85f9fbf58d5bd5163847a1d7ffa791d5acd5d72b08188f01f0e5c4730ba9060fc531071cd4 SHA512 1e08dbefe33e5464320c62e32d153b3e473462cded2d715ba1c504deacf190062672fbece40a021f25798440e2fbed4ecda763db5789fc6afb5eb2052bdf66e2
+DIST itk4.1.0.tar.gz 253796 BLAKE2B 7d51689d41871f39fbdf940f1aede2c89ee0165cc6be989f7da65df85a0d15e5db037722a5e30a284e51129b7bfff20dfde0fbc78d2d72d8acb9031f328a5d16 SHA512 1deed09daf66ae1d0cc88550be13814edff650f3ef2ecb5ae8d28daf92e37550b0e46921eb161da8ccc3886aaf62a4a3087df0f13610839b7c2d6f4b39c9f07e
DIST iwidgets-4.1.1.tar.gz 720630 BLAKE2B f276159893b19d7af7cbbe3653f9e406184c76065ae7906c34388545bdfff1b9e427a6e9b1985f349e9229c69c935b5b85ae8a0fd15ef28b0a1312fc4fcec8f4 SHA512 56fd91d832c59426b030bde2ec7136e46751503dac1b650d195251cac7ef1d1a7024adb2d995fe835f1039a0f99eb616db97a9e9c591f827a911eea2c233c305
diff --git a/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild b/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild
index f5a96d1b3c29..4c987c7b97f8 100644
--- a/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild
+++ b/dev-tcltk/iwidgets/iwidgets-4.1.1-r2.ebuild
@@ -6,10 +6,15 @@ EAPI=8
inherit virtualx autotools
BASE_URI_ITCLTK="mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-4-source"
+ITCL_VER=4.1.1
+ITK_VER=4.1.0
DESCRIPTION="Widget collection for incrTcl/incrTk"
HOMEPAGE="http://incrtcl.sourceforge.net/itcl/"
-SRC_URI="mirror://sourceforge/incrtcl/%5BIncr%20Widgets%5D/${PV}/${P}.tar.gz"
+SRC_URI="
+ mirror://sourceforge/incrtcl/%5BIncr%20Widgets%5D/${PV}/${P}.tar.gz
+ ${BASE_URI_ITCLTK}/itcl%20${ITCL_VER}/itcl${ITCL_VER}.tar.gz
+ ${BASE_URI_ITCLTK}/itk%20${ITK_VER}/itk${ITK_VER}.tar.gz"
LICENSE="HPND Old-MIT tcltk"
SLOT="0"
@@ -17,8 +22,8 @@ KEYWORDS="amd64 ~ia64 ppc sparc x86 ~amd64-linux ~x86-linux"
RESTRICT="!test? ( test )"
DEPEND="
- dev-tcltk/itcl
- dev-tcltk/itk"
+ >=dev-tcltk/itcl-${ITCL_VER}
+ >=dev-tcltk/itk-${ITK_VER}"
RDEPEND="${DEPEND}"
QA_CONFIG_IMPL_DECL_SKIP=(
@@ -42,17 +47,12 @@ src_prepare() {
}
src_configure() {
- local itcl_package=$(best_version dev-tcltk/itcl)
- local itcl_version=${itcl_package#*/*-}
- local itcl="itcl${itcl_version%-*}"
- local itk_package=$(best_version dev-tcltk/itk)
- local itk_version=${itk_package#*/*-}
- local itk="itk${itk_version%-*}"
+ (cd ../itcl${ITCL_VER}; ./configure)
econf \
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
--with-tk="${EPREFIX}"/usr/$(get_libdir) \
- --with-itcl="${EPREFIX}"/usr/$(get_libdir)/${itcl} \
- --with-itk="${EPREFIX}"/usr/$(get_libdir)/${itk}
+ --with-itcl="${WORKDIR}"/itcl${ITCL_VER} \
+ --with-itk="${WORKDIR}"/itk${ITK_VER}
}
src_compile() {