diff options
Diffstat (limited to 'net-misc/netevent/netevent-2.2.1.ebuild')
-rw-r--r-- | net-misc/netevent/netevent-2.2.1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/netevent/netevent-2.2.1.ebuild b/net-misc/netevent/netevent-2.2.1.ebuild new file mode 100644 index 000000000000..af01c9e1c64e --- /dev/null +++ b/net-misc/netevent/netevent-2.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Tool to share Linux event devices with other machines" +HOMEPAGE="https://github.com/Blub/netevent" +SRC_URI="https://github.com/Blub/netevent/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="doc" + +BDEPEND=" + doc? ( dev-python/docutils ) +" + +src_configure() { + tc-export CXX + + # Not Autoconf. + RST2MAN=rst2man.py \ + ./configure \ + --prefix="${EPREFIX}"/usr \ + $(use_enable doc) \ + || die +} + +src_compile() { + emake CPPFLAGS="-Wall -Wno-unknown-pragmas" +} |