# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="A command line podcast receiver that supports downloads via HTTP and BitTorrent" HOMEPAGE="http://www.peapodpy.org/" SRC_URI="http://${PN}py.org/downloads/${PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="id3 bittorrent" KEYWORDS="~amd64 ~x86" RESTRICT="nomirror" RDEPEND="dev-python/pyxml >=dev-python/urlgrabber-2.9.6 bittorrent? >=net-p2p/bittorrent-4.0.0 id3? dev-python/eyeD3 vorbis? vorbis-tools" DOCS="docs/about.txt docs/configuration.txt docs/dependancies.txt docs/getting.txt docs/using.txt" pkg_postinst() { einfo "Start by running peapod" einfo "Then edit the file in .peapod/peapod.xml with the feeds" einfo "For reference look at /usr/share/doc/${PF}/configuration.txt.gz" } src_install() { use bittorrent || rm -f ${D}/usr/bin/btclient.py distutils_src_install }