public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-sound/netcat-cpi/
@ 2021-12-08 11:38 Andrew Ammerlaan
  0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2021-12-08 11:38 UTC (permalink / raw
  To: gentoo-commits

commit:     7da4a306ed3996e640cefcfbee9a785c413d731b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Dec  7 15:59:04 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Dec  7 16:00:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7da4a306

media-sound/netcat-cpi: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 media-sound/netcat-cpi/Manifest                    |  1 +
 media-sound/netcat-cpi/metadata.xml                |  8 +++++
 .../netcat-cpi/netcat-cpi-2014.04.29.ebuild        | 40 ++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/media-sound/netcat-cpi/Manifest b/media-sound/netcat-cpi/Manifest
new file mode 100644
index 000000000..716e0971d
--- /dev/null
+++ b/media-sound/netcat-cpi/Manifest
@@ -0,0 +1 @@
+DIST netcat-cpi-2014.04.29.tar.gz 56945680 BLAKE2B e5faecdbb14c95add1dcc4052c0a6d379811173ee874f4c98f2b12d825b2783a884a38fcc51d228d30e2d75987c27269ed197fc1ec2cebef35209e414e413bde SHA512 e43534c4642999b1c3fdfa4463f4dffd7c0239a14a5025c8129093ef1b2a6720d2373a42055ce13371cbae4d1db5777cbb9f08349b5683d1f000b0ea45bcea35

diff --git a/media-sound/netcat-cpi/metadata.xml b/media-sound/netcat-cpi/metadata.xml
new file mode 100644
index 000000000..7ebbd0334
--- /dev/null
+++ b/media-sound/netcat-cpi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild b/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild
new file mode 100644
index 000000000..867068c68
--- /dev/null
+++ b/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod optfeature
+
+MY_PN="${PN}-kernel-module"
+COMMIT="c8798d698f9af5daf2be1be3d998e66374698271"
+DESCRIPTION="Kernel module edition of the Cycles Per Instruction (2014) album"
+HOMEPAGE="http://netcat.co https://github.com/usrbinnc/netcat-cpi-kernel-module"
+SRC_URI="https://github.com/usrbinnc/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${COMMIT}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	virtual/linux-sources
+	sys-kernel/linux-headers
+"
+
+pkg_setup() {
+	linux-mod_pkg_setup
+
+	BUILD_TARGETS="clean all"
+	BUILD_PARAMS="KERNELDIR=${KV_DIR}"
+	MODULE_NAMES="netcat(misc)"
+}
+
+src_prepare() {
+	default
+	sed '/module_exit/a\MODULE_LICENSE("Proprietary");' -i netcat_main.c || die
+}
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	optfeature "playing the album" media-sound/vorbis-tools[ogg123]
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-08 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-08 11:38 [gentoo-commits] repo/proj/guru:master commit in: media-sound/netcat-cpi/ Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox