diff --git a/dev-libs/unibilium/Manifest b/dev-libs/unibilium/Manifest index a2923970215c2..0549104e41a4a 100644 --- a/dev-libs/unibilium/Manifest +++ b/dev-libs/unibilium/Manifest @@ -1,2 +1,3 @@ DIST unibilium-1.1.2.tar.xz 50076 SHA256 8c7ac52c31ac9567967891c3006bf8a677ec98eeaf46cc4acfc52efe9e165c3c SHA512 275146b0f4ad15997876180143938ff782f3be24c6fcfc2a0a3dbf22e19bfc6999f4c27ec6a39ebf8e45ad5cc0c3e5a80caa1ef00526bf54c824b78eaa0c29d4 WHIRLPOOL c50c816de331c0715191a1801e759facc968ff17a24b4a4d21ded9ab43acfbae4fe5693cfc08fd32ce0a46e2faa11211153cbf76f641931c0fbf197ad52934e8 DIST unibilium-1.1.4.tar.xz 50828 SHA256 8866ca5695f624830bef081191e33ff359de4fc1f8a36604f7271d2a8807ca44 SHA512 fdd5c57d0b2e3dac7f2a19c4d332e0d6bfc2378ca6aeabb4504ad0cea6ff7e78d87d2ef9f4b5187b038cb4380803b7ad72105e4da7769b35fdc694882b4cb61b WHIRLPOOL 1561de875d92ed90ea6daef9fdee6548f3f30ebf2af3e9a01b87dce3ab8e92ed0b5d06890ac7e15d4b1f6399c19e7a768ec5e964cb7bb08c1df96a0d710096dd +DIST unibilium-1.2.0.tar.gz 88488 SHA256 623af1099515e673abfd3cae5f2fa808a09ca55dda1c65a7b5c9424eb304ead8 SHA512 7aff79669200810c2910006aba657ca2276123ecb3e6e0ba01fa2d1c3cdf838c391594e6035ef150deb6185c4f1e43fe1b0bfb59b23c6697d801a5bdee37a0ee WHIRLPOOL 73ec0e955275b32a0442827cae0bd03ca90d9c57aa96b4d66bb56b2cb6cd3bccfaf6e5f6f072be4d6d60299c60b00d896f8b09aec3118db0e13273fe8a05c9ae diff --git a/dev-libs/unibilium/unibilium-1.2.0.ebuild b/dev-libs/unibilium/unibilium-1.2.0.ebuild new file mode 100644 index 0000000000000..651c9d14afe7f --- /dev/null +++ b/dev-libs/unibilium/unibilium-1.2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 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/unibilium/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+ MIT" +SLOT="0" +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 +}