All pastes #1821373 Raw Edit

Zoolooc

public shellscript v1 · immutable
#1821373 ·published 2010-03-03 15:55 UTC
rendered paste body
# Copyright 1999-2010 Gentoo Foundation# Distributed under the terms of the GNU General Public License v2# $Header: $EAPI="2"inherit eutilsDESCRIPTION="Script pack for VDR plugin: yacoto"HOMEPAGE="http://www.htpc-forum.de/index.php?url=downloads.php"SRC_URI="http://www.htpc-forum.de/download/${PN}-helau-${PV}.tgz"LICENSE="GPL-2"SLOT="0"KEYWORDS="~x86 ~amd64"IUSE="3gp dvd ipod ogg status"DEPEND=">=media-video/vdr-1.4"RDEPEND="media-video/mplayer	media-sound/lame	media-video/vdrsync	app-misc/screen	>=media-video/replex-0.1.6.8	dvd? ( app-cdr/cdrtools		app-cdr/dvd+rw-tools		media-video/vamps		media-video/mjpegtools 		media-gfx/imagemagick		media-video/dvdauthor )	ogg? ( media-sound/vorbis-tools )	3gp? ( media-video/ffmpeg )	ipod? ( media-video/ffmpeg		media-video/gpac )	status? ( media-plugins/vdr-bgprocess )"S="${WORKDIR}"/yacotosrc_prepare() {	cd "${S}"	rename .conf.sample .conf *.conf.sample	cd "${S}"/conf	 rename .conf.sample .conf *.conf.sample	cd "${S}"/conf/dvd	rename .conf.sample .conf *.conf.sample}src_install() {#	insinto /etc/vdr/plugins/yacotoinsinto /usr/share/vdr/yacoto	doins *.conf#	insinto /etc/vdr/plugins/yacoto/confinsinto /usr/share/vdr/yacoto/conf	doins conf/*.conf#	cp --archive --recursive conf/dvd "${D}"/etc/vdr/plugins/yacoto/confcp --archive --recursive conf/dvd "${D}"/usr/share/vdr/yacoto/conf	keepdir /usr/share/vdr/yacoto/queue	insinto usr/share/vdr/yacoto/conf	cp --archive yac_*.sh "${D}"/usr/share/vdr/yacoto	cp --archive conf/*.sh "${D}"/usr/share/vdr/yacoto/conf	insinto /usr/share/vdr/yacoto/conf/dvd#	mv "${D}"/etc/vdr/plugins/yacoto/conf/dvd/*.sh "${D}"/usr/share/vdr/yacoto/conf/dvd	dodoc README README.en HISTORY}