diff options
author | Sam James <sam@gentoo.org> | 2021-03-30 21:17:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-30 21:45:41 +0000 |
commit | 11141207fdbf6b0bf8a9d355876d52f7ba829482 (patch) | |
tree | 9726cf1678915fe14b32ada74847c72aa52df2df /net-misc/socket/socket-1.5.ebuild | |
parent | net-mail/sendEmail: port to EAPI 7, drop base.eclass (diff) | |
download | gentoo-11141207fdbf6b0bf8a9d355876d52f7ba829482.tar.gz gentoo-11141207fdbf6b0bf8a9d355876d52f7ba829482.tar.bz2 gentoo-11141207fdbf6b0bf8a9d355876d52f7ba829482.zip |
net-misc/socket: port to EAPI 7, drop base.eclass
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/socket/socket-1.5.ebuild')
-rw-r--r-- | net-misc/socket/socket-1.5.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net-misc/socket/socket-1.5.ebuild b/net-misc/socket/socket-1.5.ebuild index a08430d13f1f..be38d567737b 100644 --- a/net-misc/socket/socket-1.5.ebuild +++ b/net-misc/socket/socket-1.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit base toolchain-funcs +inherit toolchain-funcs DESCRIPTION="A shell-level interface to TCP sockets" HOMEPAGE="http://www.jnickelsen.de/socket/" @@ -12,10 +12,11 @@ SRC_URI="http://www.jnickelsen.de/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux" - IUSE="examples" -PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch +) src_compile() { emake CC="$(tc-getCC)" @@ -25,6 +26,7 @@ src_install() { dobin socket doman socket.1 dodoc BLURB CHANGES README + if use examples; then docinto examples dodoc scripts/* |