Сравнение html2text-2.1.1 с html2text-2.2.3
/usr/portage/app-text/html2text/html2text-2.2.3.ebuild 2023-10-09 14:52:28.880368335 +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 |
... | ... | |
9 | 9 |
inherit git-r3 |
10 | 10 |
EGIT_REPO_URI="https://github.com/grobian/html2text.git" |
11 | 11 |
else |
12 |
SRC_URI="https://github.com/grobian/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
13 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
12 |
SRC_URI="https://github.com/grobian/${PN}/releases/download/v${PV}/${P}.tar.gz" |
|
13 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
14 | 14 |
fi |
15 | 15 | |
16 | 16 |
DESCRIPTION="HTML to text converter" |
... | ... | |
19 | 19 |
LICENSE="GPL-2" |
20 | 20 |
SLOT="0" |
21 | 21 | |
22 |
src_configure() { |
|
23 |
# non-autoconf configure |
|
24 |
tc-export CXX |
|
25 |
default |
|
26 |
} |
|
27 | ||
28 |
src_compile() { |
|
29 |
emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" |
|
30 |
} |
|
22 |
DEPEND="virtual/libiconv" |
|
23 |
RDEPEND="${DEPEND}" |
|
31 | 24 | |
32 |
src_install() { |
|
33 |
emake DESTDIR="${D}" \ |
|
34 |
PREFIX="${EPREFIX}/usr" \ |
|
35 |
MANDIR="${EPREFIX}/usr/share/man" \ |
|
36 |
DOCDIR="${EPREFIX}/usr/share/doc/${P}" \ |
|
37 |
install |
|
25 |
src_test() { |
|
26 |
emake check |
|
38 | 27 |
} |