summaryrefslogtreecommitdiff
path: root/media-video/tvmaxe-cli/tvmaxe-cli-20120906.ebuild
blob: 18a2ccfd44e2436b39452a41a77d130ed22dd757 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

DESCRIPTION="CLI version of tv-maxe"
HOMEPAGE="http://nknwn.github.com/tvmaxe-cli/"
SRC_URI="dl.dropbox.com/u/5635113/tvmaxe-cli-20120906.tar.gz"

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

RDEPEND="media-video/mplayer
	 net-p2p/sopcast-bin"
DEPEND=""

S="${WORKDIR}"

src_install() {
	cd "${S}"
	dodir /usr/bin/${PN} || die "Error. Could not create directory."
	insinto /usr/bin/${PN} || die "Error. Could not set install path."
	doins -r  "${S}"/${PN}-${PV}/* || die " Error. Could not install."
	fperms 755 /usr/bin/${PN}/${PN} || die "Error. Permissions not set."
}