diff options
author | Ole Reifschneider <tranquility@gentoo.org> | 2019-03-16 13:39:01 +0100 |
---|---|---|
committer | Ole Reifschneider <tranquility@gentoo.org> | 2019-03-16 13:43:43 +0100 |
commit | 16509279653a46f6ec80e2e08398b50ce9ab8785 (patch) | |
tree | abebf9f09165ae0ff42bbf78f5d77ab89d0a3f1f | |
parent | dev-vcs/mercurial: keyworded 4.9 for ppc, bug #666978 (diff) | |
download | gentoo-16509279653a46f6ec80e2e08398b50ce9ab8785.tar.gz gentoo-16509279653a46f6ec80e2e08398b50ce9ab8785.tar.bz2 gentoo-16509279653a46f6ec80e2e08398b50ce9ab8785.zip |
dev-libs/libtermkey: Bump version to 0.22
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Ole Reifschneider <tranquility@gentoo.org>
-rw-r--r-- | dev-libs/libtermkey/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libtermkey/libtermkey-0.22.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/libtermkey/Manifest b/dev-libs/libtermkey/Manifest index 1ce1eae1a1a8..60931f71232e 100644 --- a/dev-libs/libtermkey/Manifest +++ b/dev-libs/libtermkey/Manifest @@ -1,2 +1,3 @@ DIST libtermkey-0.19.tar.gz 43148 BLAKE2B 652745171dded4a26c9c6557b8e97b390922a0ba9ed3e2f82d1d6255dfd7e73508ccf3581e2cd2b96115d4778a7b2c28477ae2e8795d14eef51d763d0a23733e SHA512 052ea6bcc7e440808e90e2f4912370985f3429866539a01f28676f1deb29381176bfa43de4c54ec1fa2682b399432c7a85c236c9de648a3c0f60087d2908e2d1 DIST libtermkey-0.20.tar.gz 45167 BLAKE2B e51a0c91efce056824ee56918aa6a794096e1f19e02d04278c0f3e82382055f16b0413c9f3832492677fbb68bcc1803303cb4c8ee8dc7363276dfeda3e5a6e4f SHA512 81a4bc5917c60ca692ec3065ac0252ae5dc1adccc2832be1c83c82318c97473d883900ab88a8a0ee08ab3f831ff07f3a4827ee3d8e936a3a42c4708ee58f6301 +DIST libtermkey-0.22.tar.gz 46147 BLAKE2B fddc00a1ae525e5ed8c9c6eaee46fe30a99dbbc76ca988f9f5301b3c5c13a6de4462d6cc612119409a21737176f67ac196109b11fb58f414b25db5b6a49f4982 SHA512 2e8242cd1e6acb8900125dcee9fd47f7554c359363f760b88858c82667e1f3871bdd87358b14c8a133ef3cd2699947a5045477e64cdf7f96d4ead1723e73a219 diff --git a/dev-libs/libtermkey/libtermkey-0.22.ebuild b/dev-libs/libtermkey/libtermkey-0.22.ebuild new file mode 100644 index 000000000000..a90099b95c4d --- /dev/null +++ b/dev-libs/libtermkey/libtermkey-0.22.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic + +DESCRIPTION="Library for easy processing of keyboard entry from terminal-based programs" +HOMEPAGE="http://www.leonerd.org.uk/code/libtermkey/" +SRC_URI="http://www.leonerd.org.uk/code/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="demos static-libs" + +RDEPEND="dev-libs/unibilium:=" +DEPEND="${RDEPEND} + sys-devel/libtool + virtual/pkgconfig + demos? ( dev-libs/glib:2 )" + +src_prepare() { + default + + if ! use demos; then + sed -e '/^all:/s:$(DEMOS)::' -i Makefile || die + fi +} + +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)/${PN}.a || die + rm "${ED}"/usr/$(get_libdir)/${PN}.la || die +} |