Diff eselect-wxwidgets-20180529 with a eselect-wxwidgets-20230114-r1

/usr/portage/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20230114-r1.ebuild 2023-10-09 14:52:28.748368331 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
inherit multilib
7

  
6 8
WXWRAP_VER=1.4
7 9

  
8 10
DESCRIPTION="Eselect module and wrappers for wxWidgets"
9
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
10
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz
11
	https://dev.gentoo.org/~mgorny/dist/${PN}-files.tar.bz2"
11
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-wxwidgets.git/"
12
SRC_URI="https://dev.gentoo.org/~sam/distfiles/app-eselect/eselect-wxwidgets/${P}.tar.xz"
12 13

  
13 14
LICENSE="GPL-2"
14 15
SLOT="0"
......
17 18
RDEPEND=">=app-admin/eselect-1.4.13"
18 19

  
19 20
src_prepare() {
20
	cp "${WORKDIR}"/eselect-wxwidgets-files/{wx-config,wxrc}-${WXWRAP_VER} . || die
21 21
	sed \
22 22
		-e "/^LIBDIR=/s:lib:$(get_libdir):" \
23 23
		-e "/^EPREFIX=/s:'':'${EPREFIX}':" \
24
		-i {wx-config,wxrc}-${WXWRAP_VER} || die
24
		-i {wx-config,wxrc}-"${WXWRAP_VER}" || die
25 25
	eapply_user
26 26
}
27 27

  
......
30 30
	doins wxwidgets.eselect
31 31

  
32 32
	insinto /usr/share/aclocal
33
	newins "${WORKDIR}"/eselect-wxwidgets-files/wxwin.m4-3.0 wxwin.m4
33
	newins wxwin.m4-3.0 wxwin.m4
34 34

  
35
	newbin wx-config-${WXWRAP_VER} wx-config
36
	newbin wxrc-${WXWRAP_VER} wxrc
35
	newbin "wx-config-${WXWRAP_VER}" wx-config
36
	newbin "wxrc-${WXWRAP_VER}" wxrc
37 37

  
38 38
	keepdir /var/lib/wxwidgets
39 39
	keepdir /usr/share/bakefile/presets
Thank you!