diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /dev-libs/yascreen/yascreen-1.86-r1.ebuild | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'dev-libs/yascreen/yascreen-1.86-r1.ebuild')
-rw-r--r-- | dev-libs/yascreen/yascreen-1.86-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/yascreen/yascreen-1.86-r1.ebuild b/dev-libs/yascreen/yascreen-1.86-r1.ebuild new file mode 100644 index 000000000000..6ce556efe3ab --- /dev/null +++ b/dev-libs/yascreen/yascreen-1.86-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Yet Another Screen Library - curses replacement" +HOMEPAGE="https://github.com/bbonev/yascreen" +SRC_URI="https://github.com/bbonev/yascreen/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${P}-fix-install.patch" +) + +src_prepare() { + default + sed -e '/INSTALL/s/-Ds/-D/' \ + -e '/INSTALL/s/-s//' \ + -e "s:/usr/local:${EPREFIX}/usr:" \ + -e "s:/lib/:/$(get_libdir)/:" \ + -i Makefile.main || die +} + +src_compile() { + emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" NO_FLTO=1 +} + +src_install() { + default + find "${D}" -name '*.a' -delete || die +} |