summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-serial/vdr-serial-0.0.6a-r3.ebuild
blob: a04a4fd5c45dd57627eaea96f9ac2ab5748b6302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit vdr-plugin-2

DESCRIPTION="VDR Plugin: attach some buttons with diodes to the serial port"
HOMEPAGE="http://www.lf-klueber.de/vdr.htm"
SRC_URI="http://www.lf-klueber.de/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="media-video/vdr:="
RDEPEND="${DEPEND}
	acct-user/vdr[serial]"

src_prepare() {
	vdr-plugin-2_src_prepare

	sed -i serial.c -e "s:RegisterI18n://RegisterI18n:" || die

	cd "${S}"/tools
	emake clean
}

src_install() {
	local DOCS=( README circuit.jpg tools/Connector.txt )
	vdr-plugin-2_src_install
}