Diff itcl-4.2.0 with a itcl-4.2.1
/usr/portage/dev-tcltk/itcl/itcl-4.2.1.ebuild 2023-10-09 14:52:30.904368386 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
MY_P="${PN}${PV}" |
|
6 |
MYP="${PN}-$(ver_rs 1- '-')" |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" |
9 | 9 |
HOMEPAGE="http://incrtcl.sourceforge.net/" |
10 |
SRC_URI="mirror://sourceforge/project/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/itcl%20${PV}/${MY_P}.tar.gz" |
|
10 |
SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MYP}.tar.gz" |
|
11 | 11 | |
12 | 12 |
SLOT="0" |
13 | 13 |
LICENSE="BSD" |
14 |
KEYWORDS="~alpha amd64 arm64 ~ia64 ppc sparc x86 ~amd64-linux ~x86-linux" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" |
|
15 | 15 |
IUSE="" |
16 | 16 | |
17 | 17 |
RDEPEND=">=dev-lang/tcl-8.6:0=" |
18 | 18 |
DEPEND="${RDEPEND}" |
19 | 19 | |
20 |
S="${WORKDIR}/${PN}${PV}" |
|
20 |
S="${WORKDIR}/${PN}-${MYP}" |
|
21 | 21 | |
22 | 22 |
# somehow broken |
23 | 23 |
#RESTRICT=test |
24 | 24 | |
25 |
src_prepare() { |
|
26 |
default |
|
27 |
cp -r itclWidget/tclconfig tclconfig || die |
|
28 |
} |
|
29 | ||
25 | 30 |
src_configure() { |
26 | 31 |
econf \ |
27 | 32 |
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \ |
... | ... | |
45 | 50 |
src_install() { |
46 | 51 |
default |
47 | 52 | |
53 |
local MY_P=${PN}${PV} |
|
54 | ||
48 | 55 |
sed \ |
49 | 56 |
-e "/BUILD_LIB_SPEC/s:-L${S}::g" \ |
50 | 57 |
-e "/BUILD_STUB_LIB_SPEC/s:-L${S}::g" \ |