diff options
author | Sam James <sam@gentoo.org> | 2022-10-01 02:19:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-01 02:29:31 +0100 |
commit | 1ea57d7bfe9bbad7c8b494bc180a1f1e37462acf (patch) | |
tree | 16e6e5e47b48142ae4a7f8ff0edf505202071b65 /dev-libs/libvterm | |
parent | dev-libs/libmaxminddb: add 1.7.1, drop 1.7.0 (diff) | |
download | gentoo-1ea57d7bfe9bbad7c8b494bc180a1f1e37462acf.tar.gz gentoo-1ea57d7bfe9bbad7c8b494bc180a1f1e37462acf.tar.bz2 gentoo-1ea57d7bfe9bbad7c8b494bc180a1f1e37462acf.zip |
dev-libs/libvterm: add 0.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libvterm')
-rw-r--r-- | dev-libs/libvterm/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libvterm/libvterm-0.3.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/libvterm/Manifest b/dev-libs/libvterm/Manifest index ab3d2b0602ca..115db5509890 100644 --- a/dev-libs/libvterm/Manifest +++ b/dev-libs/libvterm/Manifest @@ -1,2 +1,3 @@ DIST libvterm-0.1.4.tar.gz 69122 BLAKE2B 4f0acc9ec6755c4a840e5df6c32c44e12c5316b5c5918d0e8eada19d819736c3e5b9090b468e32b3141a7fbb5ba226e365be27d6d1d9ca22f9f5e365fc3971c2 SHA512 90b5d47417e3f469df5c6574a27d12bd6bd1571d17cab7c4ac0ee61b1dbcb6361987f6fdfd11e314ea32f8958ec165c319a34d0f77288947c7cbc11de697d524 DIST libvterm-0.2.tar.gz 79712 BLAKE2B db17d15550a595652368edd7ee0ccab2a69effa79677a23d6ee94731fc05d685df0de843d2e953cd59d2077922e72834d7ab09eaf5260aed869d9511cfd224a7 SHA512 bc99ae4fbdc165ced92c10fb0168ae6da2ed702208064616fefcd42aba71c57b7d42a08bc5b0e7e1ebda8cc4b5682d16059bdd2edfb12fbd8ac97527e854b14c +DIST libvterm-0.3.tar.gz 83861 BLAKE2B a2e8e9d80698880d87f9d26977a4e3dec7b520c3096d0ca6f7823254eeebe51666380ed2a5c05c923dd8b138f15c87e671fdfb03e5511c01711e112cdda9867a SHA512 2a7b6831476465d6a9f7c792406f4e3c4eca0c3dbce4b7031f2646c87e33692128a3d3ce27e1541403772cc0b5eface7bd41325e1e5300c3915bfc0bac97a896 diff --git a/dev-libs/libvterm/libvterm-0.3.ebuild b/dev-libs/libvterm/libvterm-0.3.ebuild new file mode 100644 index 000000000000..5011f386127d --- /dev/null +++ b/dev-libs/libvterm/libvterm-0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator" +HOMEPAGE="https://www.leonerd.org.uk/code/libvterm/" +SRC_URI="https://www.leonerd.org.uk/code/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" + +BDEPEND=" + dev-lang/perl + sys-devel/libtool +" + +src_compile() { + emake VERBOSE=1 PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake VERBOSE=1 DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR="${EPREFIX}/usr/$(get_libdir)" install + + find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files" + find "${ED}" -name '*.a' -delete || die +} |