Diff libvterm-0.1.4-r1 with a libvterm-0.3
/usr/portage/dev-libs/libvterm/libvterm-0.3.ebuild 2023-10-09 14:52:29.532368351 +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=8 |
5 | 5 | |
6 |
inherit autotools |
|
7 | ||
8 | 6 |
DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator" |
9 | 7 |
HOMEPAGE="https://www.leonerd.org.uk/code/libvterm/" |
10 | 8 |
SRC_URI="https://www.leonerd.org.uk/code/${PN}/${P}.tar.gz" |
11 | 9 | |
12 | 10 |
LICENSE="MIT" |
13 | 11 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" |
|
12 |
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos" |
|
15 | 13 | |
16 | 14 |
BDEPEND=" |
17 | 15 |
dev-lang/perl |
18 |
virtual/pkgconfig |
|
16 |
sys-devel/libtool |
|
19 | 17 |
" |
20 | 18 | |
21 |
PATCHES=( |
|
22 |
"${FILESDIR}"/${P}-slibtool.patch # 779034 |
|
23 |
) |
|
24 | ||
25 |
src_prepare() { |
|
26 |
default |
|
27 |
eautoreconf |
|
28 |
} |
|
29 | ||
30 | 19 |
src_compile() { |
31 |
emake VERBOSE=1 |
|
20 |
emake VERBOSE=1 PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}/usr/$(get_libdir)" |
|
32 | 21 |
} |
33 | 22 | |
34 | 23 |
src_install() { |
35 |
emake VERBOSE=1 DESTDIR="${D}" install |
|
24 |
emake VERBOSE=1 DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}/usr/$(get_libdir)" install |
|
25 | ||
36 | 26 |
find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files" |
27 |
find "${ED}" -name '*.a' -delete || die |
|
37 | 28 |
} |