summaryrefslogtreecommitdiff
blob: 886a1f655c4550b82e75f7b33ee216d450b0e190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash-themes-livecd/bootsplash-themes-livecd-2004.2-r2.ebuild,v 1.1 2004/06/07 20:33:11 wolf31o2 Exp $

IUSE="livecd"
S=${WORKDIR}/livecd-${PV}
DESCRIPTION="Gentoo ${PV} theme for bootsplash consoles"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/${PF}.tar.bz2
	http://dev.gentoo.org/~wolf31o2/livecd/${PF}.tar.bz2"

SLOT=${PV}
LICENSE="GPL-2"
KEYWORDS="x86 amd64"

DEPEND=">=media-gfx/bootsplash-0.6-r16"

src_install() {
	dodir /etc/bootsplash/livecd-${PV}
	cp -r ${S}/* ${D}/etc/bootsplash/livecd-${PV}

	# link default config for livecd images if USE=livecd set
	use livecd \
		&& cd ${D}/etc/bootsplash \
		&& rm default \
		&& dosym ./livecd-${PV} /etc/bootsplash/default
}