blob: ce2f9a8b5deda201ceb8ecbb58eb94a581578139 (
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="d8a2db77f5731cf32c6d31127452391c6cf7f91f"
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
}
|