Сравнение sablotron-1.0.3-r2 с sablotron-1.0.3-r3
/usr/portage/app-text/sablotron/sablotron-1.0.3-r3.ebuild 2023-10-09 14:52:28.896368335 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
8 |
MY_PN="Sablot" |
|
9 |
MY_P="${MY_PN}-${PV}" |
|
10 |
S=${WORKDIR}/${MY_P} |
|
8 |
MY_P="Sablot-${PV}" |
|
11 | 9 | |
12 | 10 |
DESCRIPTION="An XSLT Parser in C++" |
13 | 11 |
HOMEPAGE="https://sourceforge.net/projects/sablotron/" |
14 | 12 |
SRC_URI="mirror://sourceforge/sablotron/${MY_P}.tar.gz" |
13 |
S=${WORKDIR}/${MY_P} |
|
15 | 14 | |
16 | 15 |
# Sablotron can optionally be built under GPL, using MPL for now |
17 | 16 |
LICENSE="MPL-1.1" |
18 | 17 |
SLOT="0" |
19 |
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
20 | 19 |
IUSE="perl" |
21 | 20 | |
22 |
RDEPEND=" |
|
23 |
>=dev-libs/expat-1.95.6-r1 |
|
24 |
" |
|
25 |
DEPEND=" |
|
26 |
${RDEPEND} |
|
27 |
" |
|
28 |
BDEPEND=" |
|
29 |
>=dev-perl/XML-Parser-2.3 |
|
30 |
" |
|
31 |
DOCS=( |
|
32 |
README README_JS RELEASE src/TODO |
|
33 |
) |
|
21 |
DEPEND=">=dev-libs/expat-1.95.6-r1" |
|
22 |
RDEPEND="${DEPEND}" |
|
23 |
BDEPEND=">=dev-perl/XML-Parser-2.3" |
|
24 | ||
25 |
DOCS=( README README_JS RELEASE src/TODO ) |
|
26 | ||
34 | 27 |
PATCHES=( |
35 | 28 |
"${FILESDIR}"/${PN}-1.0.3-libsablot-expat.patch |
36 | 29 |
"${FILESDIR}"/${PN}-1.0.3-cxx11.patch |
30 |
"${FILESDIR}"/${PN}-1.0.3-drop-register-keyword.patch |
|
37 | 31 |
) |
38 | 32 | |
39 | 33 |
src_prepare() { |
... | ... | |
44 | 38 |
} |
45 | 39 | |
46 | 40 |
src_configure() { |
47 |
econf \ |
|
48 |
--disable-static \ |
|
49 |
$(use_enable perl perlconnect) \ |
|
41 |
local myeconfargs=( |
|
42 |
$(use_enable perl perlconnect) |
|
50 | 43 |
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html |
44 |
) |
|
45 |
econf "${myeconfargs[@]}" |
|
51 | 46 |
} |
52 | 47 | |
53 | 48 |
src_install() { |