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