commit:     c20f7c893825bc2298a9c940fc1be654d4ff906a
Author:     Tim Lapawa <gentoo <AT> lapawa <DOT> de>
AuthorDate: Wed Mar 26 06:48:13 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Mar 26 06:48:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c20f7c89

net-misc/brickd:

Signed-off-by: Tim Lapawa <gentoo <AT> lapawa.de>
Removed man page compression

 net-misc/brickd/brickd-2.4.7-r1.ebuild | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/net-misc/brickd/brickd-2.4.7-r1.ebuild 
b/net-misc/brickd/brickd-2.4.7-r1.ebuild
new file mode 100644
index 000000000..545969a42
--- /dev/null
+++ b/net-misc/brickd/brickd-2.4.7-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+DESCRIPTION="Network Daemon bridging API bindings to Tinkerforge hardware 
bricks"
+HOMEPAGE="https://www.tinkerforge.com/en/doc/Software/Brickd.html 
https://github.com/Tinkerforge/brickd https://github.com/Tinkerforge/daemonlib";
+SRC_URI="
+       https://github.com/Tinkerforge/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+       https://github.com/Tinkerforge/daemonlib/archive/refs/tags/${P}.tar.gz 
-> daemonlib-${P}.tar.gz"
+S="${WORKDIR}/${P}/src/${PN}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+       >=dev-libs/libusb-1.0.27
+       >=dev-libs/libgpiod-1.6.4"
+DEPEND="${RDEPEND}"
+BDEPEND=">=virtual/pkgconfig-3
+       >=dev-build/make-4.4.1
+       >=sys-devel/gcc-14.2.1"
+src_configure() {
+       # source code of daemonlib package must be linked into brickd sources
+       # reference: https://github.com/Tinkerforge/brickd
+       ln -s "${WORKDIR}/daemonlib-${P}" "${WORKDIR}/${P}/src/daemonlib" || die
+       # removing man page compression from Makefile
+       sed -i 's/^.*gzip.*man.*$//g' "${WORKDIR}/${P}/src/brickd/Makefile"
+}
+src_compile() {
+       emake
+}

Reply via email to