blob: 1e36407e6af02f8f9e00d56976749acd52062790 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
BACKPORTS="03f44039848bd09444ff4baa8dc158bd61454079"
MY_P=${P%_p*}
MY_PV=${PV%_p*}
inherit vcs-snapshot
DESCRIPTION="Homebrew PVR project bindings"
HOMEPAGE="https://www.mythtv.org"
SRC_URI="https://github.com/MythTV/mythtv/archive/${BACKPORTS}.tar.gz -> mythtv-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0/${PV}"
IUSE="python perl"
S="${WORKDIR}/mythtv-${BACKPORTS}/mythtv"
src_unpack() {
tar -zxf "${DISTDIR}/${A}" mythtv-${BACKPORTS}/mythtv/bindings
find ${S} -name .gitignore -delete
find ${S} -name Makefile -delete
}
src_install() {
insinto /usr/share/mythtv/bindings
doins -r ${S}/bindings/php
use perl && doins -r ${S}/bindings/perl
use python && doins -r ${S}/bindings/python
}
|