All pastes #1807988 Raw Edit

Zoolooc

public shellscript v1 · immutable
#1807988 ·published 2010-02-24 10:32 UTC
rendered paste body
# Copyright 1999-2010 Gentoo Foundation# Distributed under the terms of the GNU General Public License v2# $Header: $EAPI=2inherit eutilsDESCRIPTION="PearlHD skin for the text2skin VDR plugin"HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/PearlHD"SRC_URI="http://projects.vdr-developer.org/skin-pearlhd-${PV}.tar.gz"#LICENSE="LGPL-2.1"LICENSE=""SLOT="0"KEYWORDS="~x86 ~amd64"IUSE="+crypticons"RDEPEND="!crypticons? ( >=media-plugins/vdr-text2skin-1.3 )	crypticons? ( >=media-plugins/vdr-text2skin-1.3[crypticons] )"# add build-only dependenciesDEPEND="${RDEPEND}"S="${WORKDIR}/skin-pearlhd"src_unpack() {	unpack "${A}"	if use crypticons; then		tar -xf "${S}"/patches/CRYPTINFO_icons_bybexbier.tar.gz --directory="${S}"		mv "${S}"/encryptpics "${S}"/symbols	fi}src_prepare() {	sed -i Makefile -e "s:SKINDIR  =:SKINDIR ?=:"	if use crypticons; then		sed -i Make.config -e "s:#CRYPTSYMBOLS=1:CRYPTSYMBOLS=1:"	fi}src_install() {	dodir /etc/vdr/themes	einstall DESTDIR="${D}" SKINDIR="/usr/share/vdr/text2skin/\$(SKIN)" || die "einstall failed"	if use crypticons; then		insinto /usr/share/vdr/text2skin/PearlHD		doins -r symbols	fi	rm "${D}"usr/share/vdr/text2skin/PearlHD/COPYING	dodoc COPYING HISTORY README*}