blob: 011c431a5d93f4bc4b41beb4132c87eade20e65d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit virtualx autotools
BASE_URI_ITCLTK="https://downloads.sourceforge.net/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="
https://downloads.sourceforge.net/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"
KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-tcltk/itcl-${ITCL_VER}
>=dev-tcltk/itk-${ITK_VER}"
RDEPEND="${DEPEND}"
QA_CONFIG_IMPL_DECL_SKIP=(
stat64 # used to test for Large File Support
)
PATCHES=( "${FILESDIR}"/${P}-dash.patch )
src_prepare() {
default
sed \
-e "/^\(LIB\|SCRIPT\)_INSTALL_DIR =/s|lib|$(get_libdir)|" \
-i Makefile.in || die
eautoreconf
# Bug 115470
rm doc/panedwindow.n
rm tests/hierarchy.test || die
}
src_configure() {
(cd ../itcl${ITCL_VER}; ./configure)
econf \
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
--with-tk="${EPREFIX}"/usr/$(get_libdir) \
--with-itcl="${WORKDIR}"/itcl${ITCL_VER} \
--with-itk="${WORKDIR}"/itk${ITK_VER}
}
src_compile() {
:
}
src_test() {
virtx default
}
src_install() {
default
# demos are in the wrong place:
mv "${ED}/usr/$(get_libdir)/${PN}${PV}/demos" "${ED}/usr/share/doc/${PF}/"
}
|