summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2018-02-23 10:20:37 -0800
committerPatrice Clement <monsieurp@gentoo.org>2018-02-26 22:49:02 +0100
commit753cc5a399f6da633753e73bb77e08f234c3485a (patch)
treec50204d512d59943f14210f2dfbe66ecf5ed69b3 /dev-libs
parentsys-libs/pam: remove dead HOMEPAGE. (diff)
downloadgentoo-753cc5a399f6da633753e73bb77e08f234c3485a.tar.gz
gentoo-753cc5a399f6da633753e73bb77e08f234c3485a.tar.bz2
gentoo-753cc5a399f6da633753e73bb77e08f234c3485a.zip
dev-libs/unibilium: version bump to 2.0.0.
SONAME changed from 0.x.x to 4.x.x, change subslot accordingly Previous versions don't load 32-bit terminfo (ncurses 6.1+) files Closes: https://github.com/gentoo/gentoo/pull/7267
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/unibilium/Manifest1
-rw-r--r--dev-libs/unibilium/unibilium-2.0.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/unibilium/Manifest b/dev-libs/unibilium/Manifest
index 80010736a5e0..fd376f408202 100644
--- a/dev-libs/unibilium/Manifest
+++ b/dev-libs/unibilium/Manifest
@@ -1,3 +1,4 @@
DIST unibilium-1.1.4.tar.xz 50828 BLAKE2B d680696e463323092693c277c972ccfb914e4c5261d54d912e4c5a7d8cab8c8b65a052b94c257dd63a6008cfb0111d052e0c5ddf8bb4598c236c88a0af19ccd8 SHA512 fdd5c57d0b2e3dac7f2a19c4d332e0d6bfc2378ca6aeabb4504ad0cea6ff7e78d87d2ef9f4b5187b038cb4380803b7ad72105e4da7769b35fdc694882b4cb61b
DIST unibilium-1.2.0.tar.gz 88488 BLAKE2B 47615a1c9e5a7f2e03c5b5f852b8d53bce047b1cb64aecc0dc0fa88ac7481589bed4b390ec007dcb65056bb8e0de56bbea17dd0a5c014968c224c60944a4767d SHA512 7aff79669200810c2910006aba657ca2276123ecb3e6e0ba01fa2d1c3cdf838c391594e6035ef150deb6185c4f1e43fe1b0bfb59b23c6697d801a5bdee37a0ee
DIST unibilium-1.2.1.tar.gz 94966 BLAKE2B d449accb3bf4a24049b0e4878ce6953c9082103ff40e9f79c59a848651e9595b2eca508a29d51a60eaea5ea38de9189b990e36ca77f1986ed87beeaff96db56b SHA512 2a3e92051382cd427220f6994a49ab10966fd13e51d1ccb437d695d5556ede8ee8d1dc0e0f92871ca48c559abd6f229599df3d1c1a2d2f80fb0820686280ce79
+DIST unibilium-2.0.0.tar.gz 112570 BLAKE2B 95c24c53e11590faabf3d4b8484c344be0b2a0988f05bde785d03dac338d9f18fc65324f5ccc402723c9fabe2990083ce260d8fa57129591a1b2a1f8405eff9d SHA512 e93f319b7a85a4441c7f4e30d12d906805f066b14bff03331e48b6257da893f6447e257c8ba731077ad4b54d82d3ebf1ccf1fcf2d864273e0d4321a26ef7c172
diff --git a/dev-libs/unibilium/unibilium-2.0.0.ebuild b/dev-libs/unibilium/unibilium-2.0.0.ebuild
new file mode 100644
index 000000000000..6f3f4873c3c1
--- /dev/null
+++ b/dev-libs/unibilium/unibilium-2.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic
+
+DESCRIPTION="A very basic terminfo library"
+HOMEPAGE="https://github.com/mauke/unibilium/"
+SRC_URI="https://github.com/mauke/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+ MIT"
+SLOT="0/4"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND="
+ dev-lang/perl
+ sys-devel/libtool"
+
+RDEPEND=""
+
+src_compile() {
+ append-flags -fPIC
+ 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
+}