blob: a9db12becb5624070d9c512b9eb6f4d58d5c2e5a (
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
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild,v 1.2 2011/01/29 01:11:20 hd_brummy Exp $
EAPI="3"
inherit linux-info vdr-plugin
DESCRIPTION="VDR Plugin: shows information about the current state of VDR on iMON LCD"
HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd"
SRC_URI="http://projects.vdr-developer.org/attachments/download/408/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="media-libs/freetype"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
CONFIG_CHECK="~IR_IMON"
pkg_setup() {
linux-info_pkg_setup
vdr-plugin_pkg_setup
}
src_prepare() {
vdr-plugin_src_prepare
if ! use nls; then
sed -i -e 's/\(all: libvdr-$(PLUGIN).so\) i18n/\1/' Makefile || die
fi
}
src_install() {
rm -f README.git
vdr-plugin_src_install
insinto /etc/udev/rules.d
doins "${FILESDIR}/99-imonlcd.rules" || die
}
|