From bf9f50d371a21779894ab5e1eb77995938e6a646 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sun, 20 Sep 2020 13:44:03 +0300 Subject: sys-block/buffer: port to EAPI=7 Closes: https://bugs.gentoo.org/742110 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada --- sys-block/buffer/buffer-1.19-r3.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 sys-block/buffer/buffer-1.19-r3.ebuild (limited to 'sys-block/buffer/buffer-1.19-r3.ebuild') diff --git a/sys-block/buffer/buffer-1.19-r3.ebuild b/sys-block/buffer/buffer-1.19-r3.ebuild new file mode 100644 index 000000000000..8096ee92f513 --- /dev/null +++ b/sys-block/buffer/buffer-1.19-r3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="A tapedrive tool for speeding up reading from and writing to tape" +HOMEPAGE="http://www.microwerks.net/~hugo/" +SRC_URI="mirror://gentoo/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm ppc sparc x86" + +src_prepare() { + eapply "${FILESDIR}"/${PV}-deb-gentoo.patch + sed -i -e 's/$(CFLAGS)/\0 $(LDFLAGS)/' Makefile || die + emake clean + default +} + +src_compile() { + append-lfs-flags + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + dobin buffer + dodoc README + newman buffer.man buffer.1 +} -- cgit v1.2.3-65-gdbad