# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/infosatepg/infosatepg-0.1.2.ebuild,v 1.4 2006/08/11 09:26:35 zzam Exp $ # include functions from eutils inherit eutils VDR_CONV_DIR="/etc/vdr" TVMOVIE2VDR_CONV_DIR="${VDR_CONV_DIR}/tvmovie2vdr" DATA_DIR="/var/vdr" TVMOVIE2VDR_FILES_DIR="${DATA_DIR}/tvmovie2vdr" DESCRIPTION="load the siehferninfo program guide from sat to import the data with tvmovie2vdr to vdr" SRC_URI="http://www.herzomedia.net/schwarzott/vdr/${P}.tar.bz2" HOMEPAGE="http://www.herzomedia.net/schwarzott/vdr/" LICENSE="GPL-2" RESTRICT="nomirror" SLOT="0" KEYWORDS="~x86" IUSE="" src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}/${P}-gcc4.diff" } src_install() { exeinto /usr/bin doexe src/infosatepg dodoc AUTHORS dodoc COPYING dodoc README dodoc TODO dodoc INSTALL keepdir "${TVMOVIE2VDR_FILES_DIR}/infosatepg" } pkg_postinst() { elog "setting rights for received dir" chown vdr:vdr "${ROOT}/${TVMOVIE2VDR_FILES_DIR}/infosatepg" elog ewarn Program options changed, you should update yout /etc/crontab elog elog "Its a good idea to add the following to /etc/crontab:" elog "10 3 * * * vdr (infosatepg -c CHANNEL_ON_TRANSPONDER -o ${TVMOVIE2VDR_FILES_DIR}/infosatepg)" elog elog "Update your tvmovie2vdr channels.pl to update the data to vdr" elog elog "Addiotnal Infos and Updatescripts for commands.conf you find here:" elog "http://www.vdr-wiki.de/wiki/index.php/Infosatepg" elog }