blob: 81b43d533435004ca9822946be7245adaad40437 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit vdr-plugin-2
MY_P="${PN}-${PV%_p*}"
DESCRIPTION="VDR plugin: lets VDR listen to WAP requests to allow remote control by WML enabled browsers"
HOMEPAGE="http://www.heiligenmann.de/vdr/vdr/plugins/wapd.html"
SRC_URI="http://www.heiligenmann.de/vdr/download/${MY_P}.tgz
http://www.heiligenmann.de/vdr/download/${MY_P#vdr-}-patch1.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=media-video/vdr-1.3.44"
PATCHES=("${FILESDIR}/${MY_P}_gcc-4.1.x.diff"
"${FILESDIR}/${MY_P}-gentoo.diff"
"${WORKDIR}/${MY_P#vdr-}-patch1.diff"
"${FILESDIR}/${MY_P}-as-needed.patch")
S="${WORKDIR}/${MY_P#vdr-}"
src_install() {
vdr-plugin-2_src_install
dobin "${S}/wappasswd"
insinto /etc/vdr/plugins/wapd
doins "${FILESDIR}"/{waphosts,wapaccess}
}
|