From 87565d8ecfe6a0d07715861975290abf4966f6b0 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Fri, 8 Feb 2008 18:52:01 +0000 Subject: Added USE=livecd to skip the message displayed by hwsetup, since it isn't necessary on a LiveCD build. (Portage version: 2.1.4) --- sys-apps/hwsetup/hwsetup-1.2.ebuild | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'sys-apps/hwsetup/hwsetup-1.2.ebuild') diff --git a/sys-apps/hwsetup/hwsetup-1.2.ebuild b/sys-apps/hwsetup/hwsetup-1.2.ebuild index 71e5a24d2950..ba944e056a2d 100644 --- a/sys-apps/hwsetup/hwsetup-1.2.ebuild +++ b/sys-apps/hwsetup/hwsetup-1.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwsetup/hwsetup-1.2.ebuild,v 1.4 2007/08/14 21:19:53 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwsetup/hwsetup-1.2.ebuild,v 1.5 2008/02/08 18:52:01 wolf31o2 Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -13,7 +13,7 @@ SRC_URI="http://debian-knoppix.alioth.debian.org/sources/${PN}_${MY_PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 ia64 -mips ppc ppc64 sparc x86" -IUSE="zlib" +IUSE="livecd zlib" DEPEND="sys-libs/libkudzu zlib? ( sys-libs/zlib ) @@ -45,8 +45,11 @@ src_install() { } pkg_postinst() { - ewarn "This package is intended for usage on the Gentoo release media. If" - ewarn "you are not building a CD, remove this package. It will not work" - ewarn "properly on a running system, as Gentoo does not use any of the" - ewarn "Knoppix-style detection except for CD builds." + if ! use livecd + then + ewarn "This package is intended for usage on the Gentoo release media. If" + ewarn "you are not building a CD, remove this package. It will not work" + ewarn "properly on a running system, as Gentoo does not use any of the" + ewarn "Knoppix-style detection except for CD builds." + fi } -- cgit v1.2.3-65-gdbad