Diff libvterm-0.3.1 with a libvterm-0.3.2
/usr/portage/dev-libs/libvterm/libvterm-0.3.2.ebuild 2023-10-09 14:52:29.532368351 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit toolchain-funcs |
|
7 | ||
6 | 8 |
DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator" |
7 | 9 |
HOMEPAGE="https://www.leonerd.org.uk/code/libvterm/" |
8 | 10 |
SRC_URI="https://www.leonerd.org.uk/code/${PN}/${P}.tar.gz" |
... | ... | |
17 | 19 |
" |
18 | 20 | |
19 | 21 |
src_compile() { |
20 |
emake VERBOSE=1 PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}/usr/$(get_libdir)" |
|
22 |
MYMAKEARGS=( |
|
23 |
VERBOSE=1 |
|
24 |
PREFIX="${EPREFIX}"/usr |
|
25 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" |
|
26 | ||
27 |
CC="$(tc-getCC)" |
|
28 |
) |
|
29 | ||
30 |
emake "${MYMAKEARGS[@]}" |
|
31 |
} |
|
32 | ||
33 |
src_test() { |
|
34 |
emake "${MYMAKEARGS[@]}" test |
|
21 | 35 |
} |
22 | 36 | |
23 | 37 |
src_install() { |
24 |
emake VERBOSE=1 DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}/usr/$(get_libdir)" install |
|
38 |
emake "${MYMAKEARGS[@]}" DESTDIR="${D}" install |
|
25 | 39 | |
26 | 40 |
find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files" |
27 | 41 |
find "${ED}" -name '*.a' -delete || die |