| # Copyright 1999-2012 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI="2" |
| |
| inherit eutils |
| |
| MY_P="gentoo-livecd-${PV}" |
| MY_REV="0.9.6" |
| DESCRIPTION="Gentoo theme for gensplash consoles" |
| HOMEPAGE="https://www.gentoo.org/" |
| SRC_URI="mirror://gentoo/${PN}/${MY_P}-${MY_REV}.tar.bz2" |
| |
| SLOT=${PV} |
| LICENSE="Artistic GPL-2 BitstreamVera" |
| KEYWORDS="amd64 ~ppc x86" |
| IUSE="" |
| RESTRICT="binchecks strip" |
| |
| RDEPEND=">=media-gfx/splashutils-1.5.4[png]" |
| DEPEND="${RDEPEND}" |
| |
| S="${WORKDIR}/${MY_P}" |
| |
| pkg_setup() { |
| if ! built_with_use media-gfx/splashutils mng |
| then |
| ewarn "MNG support is missing from splashutils. You will not see the" |
| ewarn "service icons as services are starting." |
| fi |
| } |
| |
| src_install() { |
| dodir /etc/splash/livecd-${PV} |
| cp -r "${S}"/* "${D}"/etc/splash/livecd-${PV} |
| } |