mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
This matches the packaging done by arch, and was recommended by the GURU IRC server. Signed-off-by: Julian Jørgensen <jjo@jtle.dk>
37 lines
751 B
Bash
37 lines
751 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake systemd
|
|
|
|
DESCRIPTION="A minimal composable infrastructure on top of libudev and libevdev"
|
|
HOMEPAGE="https://gitlab.com/interception/linux/tools"
|
|
SRC_URI="https://gitlab.com/interception/linux/tools/-/archive/v${PV}/tools-v${PV}.tar.gz"
|
|
|
|
S="${WORKDIR}/tools-v${PV}"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND="
|
|
dev-cpp/yaml-cpp
|
|
dev-libs/libevdev
|
|
sys-libs/glibc
|
|
virtual/libudev
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="
|
|
dev-libs/boost
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
systemd_dounit "udevmon.service"
|
|
newinitd "udevmon.init" "udevmon"
|
|
keepdir /etc/interception
|
|
keepdir /etc/interception/udevmon.d
|
|
}
|