40 lines
1 KiB
Bash
40 lines
1 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-gfx/splash-themes-livecd/splash-themes-livecd-2007.0.ebuild,v 1.7 2013/09/28 09:29:23 pinkbyte Exp $
|
|
|
|
inherit eutils
|
|
|
|
MY_P="gentoo-livecd-${PV}"
|
|
MY_REV="0.9.5"
|
|
DESCRIPTION="Gentoo theme for gensplash consoles"
|
|
HOMEPAGE="http://www.gentoo.org/"
|
|
SRC_URI="http://dev.gentoo.org/~wolf31o2/sources/${PN}/${MY_P}-${MY_REV}.tar.bz2"
|
|
|
|
SLOT=${PV}
|
|
LICENSE="Artistic GPL-2 BitstreamVera"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
IUSE=""
|
|
RESTRICT="binchecks strip"
|
|
|
|
DEPEND=">=media-gfx/splashutils-1.4.1"
|
|
|
|
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_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
sed -i -e 's-/sbin/functions.sh-/etc/init.d/functions.sh-' scripts/rc_init-pre
|
|
}
|
|
|
|
src_install() {
|
|
dodir /etc/splash/livecd-${PV}
|
|
cp -r "${S}"/* "${D}"/etc/splash/livecd-${PV}
|
|
}
|