summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-02-08 18:52:01 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-02-08 18:52:01 +0000
commit2bc42fa4c0452ab89c86fd52932cc5a8b4ae524f (patch)
treed91fb33a442781e6b7b0daeaf5d0b0d5aa320c2d /sys-apps/hwsetup
parentRemove old. (diff)
downloadhistorical-2bc42fa4c0452ab89c86fd52932cc5a8b4ae524f.tar.gz
historical-2bc42fa4c0452ab89c86fd52932cc5a8b4ae524f.tar.bz2
historical-2bc42fa4c0452ab89c86fd52932cc5a8b4ae524f.zip
Added USE=livecd to skip the message displayed by hwsetup, since it isn't necessary on a LiveCD build.
Package-Manager: portage-2.1.4
Diffstat (limited to 'sys-apps/hwsetup')
-rw-r--r--sys-apps/hwsetup/ChangeLog8
-rw-r--r--sys-apps/hwsetup/hwsetup-1.2.ebuild17
2 files changed, 16 insertions, 9 deletions
diff --git a/sys-apps/hwsetup/ChangeLog b/sys-apps/hwsetup/ChangeLog
index e3a1f1ee1525..6bb9c5ecae8e 100644
--- a/sys-apps/hwsetup/ChangeLog
+++ b/sys-apps/hwsetup/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/hwsetup
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwsetup/ChangeLog,v 1.49 2007/08/14 21:19:53 wolf31o2 Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwsetup/ChangeLog,v 1.50 2008/02/08 18:52:01 wolf31o2 Exp $
+
+ 08 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> hwsetup-1.2.ebuild:
+ Added USE=livecd to skip the message displayed by hwsetup, since it isn't
+ necessary on a LiveCD build.
14 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> hwsetup-1.2.ebuild:
Added a --missing false since not all versions of pciutils support the zlib
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
}