summaryrefslogtreecommitdiff
blob: a4a323cb8bcc87c894f5b0dfbcafe6d941548ccc (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Automated podcast download"
HOMEPAGE="http://podracer.sourceforge.net/"
SRC_URI="mirror://sourceforge/$PN/$P.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="app-shells/bash
	net-misc/curl"

src_compile() {
	gunzip podracer.1.gz;
}

src_install() {
	dobin podracer
	sed -i -e "s:sample=/usr/share/doc/\$progname/sample.subscriptions:sample=/usr/share/doc/${PF}/sample.subscriptions:" ${D}/usr/bin/podracer || die
	dodoc CREDITS LICENSE README ChangeLog TODO
	doman podracer.1
	insinto /usr/share/doc/$PF
	doins sample.subscriptions
	insinto /etc/
	doins podracer.conf
}