net-misc/brickd - 2.4.7 (guru)

Search

Install

Install this version:

emerge -a =net-misc/brickd-2.4.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/brickd-2.4.7

Or alternatively:

emerge --autounmask-write -a =net-misc/brickd-2.4.7

Package Information

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
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2.4.7 8 ~amd64 0
View Raw Ebuild
# 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"
IUSE="systemd"

RDEPEND="
	>=dev-libs/libusb-1.0.27:1
	>=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_prepare() {
	default
	# avoid compressing man pages, bug 952033
	sed -i '/gzip.*\/man\//d' Makefile || die
}

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
}

src_install() {
	local myemakeargs=(
		prefix="${EPREFIX}/usr"
		DESTDIR="${D}"
		WITH_SYSTEMD="$(usex systemd)"
	)
	emake "${myemakeargs[@]}" install
	newinitd "${WORKDIR}/${P}"/src/build_data/alpine/brickd/brickd.initd brickd
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/brickd | euse -E <flag> -p net-misc/brickd | euse -D <flag> -p net-misc/brickd

Global/Standard Flags

Dependencies

DEPEND

	>=dev-libs/libusb-1.0.27:1
	>=dev-libs/libgpiod-1.6.4:=

RDEPEND

	>=dev-libs/libusb-1.0.27:1
	>=dev-libs/libgpiod-1.6.4:=

BDEPEND

>=virtual/pkgconfig-3
	>=dev-build/make-4.4.1
	>=sys-devel/gcc-14.2.1

Manifest for 2.4.7

Type File Size Source URLs
DIST brickd-2.4.7.tar.gz 6252607 bytes https://github.com/Tinkerforge/brickd/archive/refs/tags/v2.4.7.tar.gz
DIST daemonlib-brickd-2.4.7.tar.gz 62686 bytes https://github.com/Tinkerforge/daemonlib/archive/refs/tags/brickd-2.4.7.tar.gz