diff options
author | Sam James <sam@gentoo.org> | 2021-09-08 06:08:12 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-08 06:08:12 +0100 |
commit | 7c7bbaf779413b13d0379e496e6169d1eac4a510 (patch) | |
tree | bc9d3b26c02490bbd7d2ec7e01872d1ba1eead9f /dev-libs | |
parent | sci-libs/netcdf-cxx: fix build with slibtool (diff) | |
download | gentoo-7c7bbaf779413b13d0379e496e6169d1eac4a510.tar.gz gentoo-7c7bbaf779413b13d0379e496e6169d1eac4a510.tar.bz2 gentoo-7c7bbaf779413b13d0379e496e6169d1eac4a510.zip |
dev-libs/unibilium: add 2.1.1
Closes: https://bugs.gentoo.org/778230
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/unibilium/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/unibilium/unibilium-2.1.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/unibilium/Manifest b/dev-libs/unibilium/Manifest index f511cd7c8abe..ce2aa81fb9bd 100644 --- a/dev-libs/unibilium/Manifest +++ b/dev-libs/unibilium/Manifest @@ -1,2 +1,3 @@ DIST unibilium-2.0.0.tar.gz 112570 BLAKE2B 95c24c53e11590faabf3d4b8484c344be0b2a0988f05bde785d03dac338d9f18fc65324f5ccc402723c9fabe2990083ce260d8fa57129591a1b2a1f8405eff9d SHA512 e93f319b7a85a4441c7f4e30d12d906805f066b14bff03331e48b6257da893f6447e257c8ba731077ad4b54d82d3ebf1ccf1fcf2d864273e0d4321a26ef7c172 DIST unibilium-2.1.0.tar.gz 121971 BLAKE2B e035eab4343ee779218c302b3cae3ff5d443fc9bd723cade53a3d38dde3d66ee3d7374f7c69b85508a59d44d936601b24f33b01d923e55677d2bac71bd520fea SHA512 c0074ff8431f82c92072b8c0c9d3cf38d759b4de996b168c6ab00e475b0a6204d9c29b0a6e48e62dd4fa4898f82246150ef7cd5e246893d2c225c50ec4d4ac68 +DIST unibilium-2.1.1.tar.gz 121998 BLAKE2B 0bd032d0cc32011fa66604b39412116824b79aeb3cebb394efcad7591d5bd18031d465f7736ff1e65914f2fcf7beca1cbee4c7ad07426cdbf45e1c82e1894d94 SHA512 ebcdcddc6c3a540d086b113bb83470c1c17cf59056b28308a484b20dc3df71de0f5d6e5bf105f9e4a8347c78500c65ae46c2b53ec87692a898c321a047664ee2 diff --git a/dev-libs/unibilium/unibilium-2.1.1.ebuild b/dev-libs/unibilium/unibilium-2.1.1.ebuild new file mode 100644 index 000000000000..d064fcfbef8c --- /dev/null +++ b/dev-libs/unibilium/unibilium-2.1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="A very basic terminfo library" +HOMEPAGE="https://github.com/neovim/unibilium/" +SRC_URI="https://github.com/neovim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+ MIT" +SLOT="0/4" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x64-macos" +IUSE="static-libs" + +BDEPEND="dev-lang/perl + sys-devel/libtool" + +PATCHES=( + "${FILESDIR}/${PN}-2.1.0-no-compress-man.patch" +) + +src_compile() { + append-flags -fPIC + tc-export CC + emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" all +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" DESTDIR="${D}" install + use static-libs || rm "${ED}"/usr/$(get_libdir)/lib${PN}.a || die + rm "${ED}"/usr/$(get_libdir)/lib${PN}.la || die +} |