Diff snarf-7.0-r4 with a snarf-7.0-r5
/usr/portage/net-misc/snarf/snarf-7.0-r5.ebuild 2023-10-09 14:52:34.684368481 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
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 |
inherit toolchain-funcs |
|
6 |
WANT_AUTOCONF="2.1" |
|
7 |
inherit autotools toolchain-funcs |
|
7 | 8 | |
8 | 9 |
DESCRIPTION="Small and fast CLI resource grabber for http, gopher, finger, ftp" |
9 | 10 |
HOMEPAGE="https://www.xach.com/snarf/" |
10 | 11 |
SRC_URI="https://www.xach.com/snarf/${P}.tar.gz" |
11 | 12 | |
12 |
KEYWORDS="~alpha amd64 ppc sparc x86" |
|
13 | 13 |
LICENSE="GPL-2" |
14 | 14 |
SLOT="0" |
15 |
IUSE="" |
|
15 |
KEYWORDS="~alpha amd64 ppc sparc x86" |
|
16 | 16 | |
17 | 17 |
PATCHES=( |
18 | 18 |
"${FILESDIR}"/snarf-basename-patch.diff |
19 | 19 |
"${FILESDIR}"/snarf-unlink-empty.diff |
20 | 20 |
"${FILESDIR}"/snarf-fix-off-by-ones.diff |
21 |
"${FILESDIR}"/snarf-fix-build-for-clang16.patch |
|
21 | 22 |
) |
22 | 23 | |
24 |
src_prepare() { |
|
25 |
default |
|
26 |
eautoconf |
|
27 |
} |
|
28 | ||
23 | 29 |
src_compile() { |
24 | 30 |
emake CC="$(tc-getCC)" |
25 | 31 |
} |