Diff wget2-2.1.0 with a wget2-9999
/usr/portage/net-misc/wget2/wget2-9999.ebuild 2023-10-09 14:52:34.716368482 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit autotools git-r3 |
|
7 | ||
6 | 8 |
DESCRIPTION="GNU Wget2 is a file and recursive website downloader" |
7 | 9 |
HOMEPAGE="https://gitlab.com/gnuwget/wget2" |
8 |
SRC_URI="mirror://gnu/wget/${P}.tar.gz" |
|
10 |
EGIT_REPO_URI="https://gitlab.com/gnuwget/wget2.git" |
|
9 | 11 | |
10 | 12 |
# LGPL for libwget |
11 | 13 |
LICENSE="GPL-3+ LGPL-3+" |
12 | 14 |
SLOT="0/0" # subslot = libwget.so version |
13 |
KEYWORDS="~amd64 ~arm64 ~loong ~x86" |
|
15 |
KEYWORDS="" |
|
14 | 16 |
IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma openssl pcre psl +ssl test xattr zlib" |
15 | 17 | |
16 | 18 |
RDEPEND=" |
... | ... | |
45 | 47 | |
46 | 48 |
RESTRICT="!test? ( test )" |
47 | 49 | |
50 |
src_unpack() { |
|
51 |
git-r3_src_unpack |
|
52 | ||
53 |
# We need to mess with gnulib :-/ |
|
54 |
EGIT_REPO_URI="https://git.savannah.gnu.org/r/gnulib.git" \ |
|
55 |
EGIT_CHECKOUT_DIR="${WORKDIR}/gnulib" \ |
|
56 |
git-r3_src_unpack |
|
57 |
} |
|
58 | ||
59 |
src_prepare() { |
|
60 |
default |
|
61 | ||
62 |
local bootstrap_opts=( |
|
63 |
--gnulib-srcdir=../gnulib |
|
64 |
--no-bootstrap-sync |
|
65 |
--copy |
|
66 |
--no-git |
|
67 |
--skip-po |
|
68 |
) |
|
69 |
AUTORECONF="/bin/true" \ |
|
70 |
LIBTOOLIZE="/bin/true" \ |
|
71 |
sh ./bootstrap "${bootstrap_opts[@]}" || die |
|
72 |
eautoreconf |
|
73 |
} |
|
74 | ||
48 | 75 |
src_configure() { |
49 | 76 |
local myeconfargs=( |
50 | 77 |
--disable-static |