# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Hot-babe displays the CPU usage as a more or less dressed girl." SRC_URI="http://dindinx.net/hotbabe/downloads/${P}.tar.gz" HOMEPAGE="http://dindinx.net/hotbabe" LICENSE="Artistic" SLOT="0" IUSE="offensive" KEYWORDS="~x86 ~amd64" DEPEND=">=x11-libs/gtk+-2.0 >=media-libs/gdk-pixbuf-0.22.0" DOCS="ChangeLog NEWS TODO LICENSE CONTRIBUTORS copyright" src_compile() { use offensive || die "hot-babes contains slightly erotic graphics" \ "and will only compile with" \ "the 'offensive' USE flag set. Type:" \ " echo 'x11-plugins/hot-babe offensive' >>" \ "/etc/portage/package.use" \ "to enable this package." emake DESTDIR=${DESTTREE} || die } src_install() { dobin hot-babe # Install the documentation dodoc ${DOCS} # Install the necessary pics exeinto /usr/share/hot-babe/hb01 doexe ${S}/hb01/* }