Сравнение levee-3.5a с levee-4.0

/usr/portage/app-editors/levee/levee-4.0.ebuild 2023-10-09 14:52:28.280368320 +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
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8 8
DESCRIPTION="Really tiny vi clone, for things like rescue disks"
9
HOMEPAGE="http://www.pell.chi.il.us/~orc/Code/"
10
SRC_URI="http://www.pell.chi.il.us/~orc/Code/levee/${P}.tar.gz"
9
HOMEPAGE="https://www.pell.portland.or.us/~orc/Code/levee/"
10
SRC_URI="https://www.pell.portland.or.us/~orc/Code/levee/${P}.tar.bz2"
11
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz"
11 12

  
12 13
LICENSE="levee"
13 14
SLOT="0"
......
21 22
BDEPEND="virtual/pkgconfig"
22 23

  
23 24
PATCHES=(
24
	"${FILESDIR}"/${PN}-3.4o-darwin.patch
25
	"${FILESDIR}"/${P}-QA.patch
26
	"${FILESDIR}"/${PN}-3.5-glibc210.patch
25
	"${WORKDIR}"/${P}-patches
27 26
)
28 27

  
29 28
src_configure() {
......
31 30
	export AC_PATH="${PATH}"
32 31
	export AC_LIBDIR="$($(tc-getPKG_CONFIG) --libs ncurses)"
33 32

  
33
	# --sive=256000 because configure.sh expects size to be a number and not the
34
	# tool lize "llvm-size" or "x86_64-pc-linux-gnu-size".
35
	# See #729264
34 36
	./configure.sh \
35
		--prefix="${PREFIX}"/usr || die "configure failed"
37
		--prefix="${PREFIX}"/usr --size=256000 || die "configure failed"
36 38
}
37 39

  
38 40
src_compile() {
39 41
	emake \
40
		CFLAGS="${CFLAGS} -Wall -Wextra ${LDFLAGS}" \
42
		CFLAGS="${CFLAGS} ${LDFLAGS}" \
41 43
		CC="$(tc-getCC)"
42 44
}
43 45

  
Спасибо!