You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.5 KiB
73 lines
1.5 KiB
1 year ago
|
# Copyright 1999-2023 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
1 year ago
|
EAPI=8
|
||
6 years ago
|
|
||
1 year ago
|
inherit virtualx autotools
|
||
6 years ago
|
|
||
|
BASE_URI_ITCLTK="mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-4-source"
|
||
6 years ago
|
ITCL_VER=4.1.1
|
||
|
ITK_VER=4.1.0
|
||
6 years ago
|
|
||
|
DESCRIPTION="Widget collection for incrTcl/incrTk"
|
||
|
HOMEPAGE="http://incrtcl.sourceforge.net/itcl/"
|
||
|
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"
|
||
4 years ago
|
KEYWORDS="amd64 ~ia64 ppc sparc x86 ~amd64-linux ~x86-linux"
|
||
6 years ago
|
IUSE=""
|
||
5 years ago
|
RESTRICT="!test? ( test )"
|
||
6 years ago
|
|
||
|
DEPEND="
|
||
|
>=dev-tcltk/itcl-${ITCL_VER}
|
||
|
>=dev-tcltk/itk-${ITK_VER}"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
1 year ago
|
QA_CONFIG_IMPL_DECL_SKIP=(
|
||
|
stat64 # used to test for Large File Support
|
||
|
)
|
||
|
|
||
1 year ago
|
PATCHES=( "${FILESDIR}"/${P}-dash.patch )
|
||
|
|
||
6 years ago
|
src_prepare() {
|
||
|
default
|
||
|
sed \
|
||
|
-e "/^\(LIB\|SCRIPT\)_INSTALL_DIR =/s|lib|$(get_libdir)|" \
|
||
|
-i Makefile.in || die
|
||
|
|
||
1 year ago
|
eautoreconf
|
||
|
|
||
6 years ago
|
# Bug 115470
|
||
|
rm doc/panedwindow.n
|
||
6 years ago
|
|
||
|
rm tests/hierarchy.test || die
|
||
6 years ago
|
}
|
||
|
|
||
|
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() {
|
||
|
:
|
||
|
}
|
||
|
|
||
6 years ago
|
src_test() {
|
||
|
virtx default
|
||
|
}
|
||
|
|
||
6 years ago
|
src_install() {
|
||
|
default
|
||
|
|
||
|
# demos are in the wrong place:
|
||
|
mv "${ED}/usr/$(get_libdir)/${PN}${PV}/demos" "${ED}/usr/share/doc/${PF}/"
|
||
|
}
|