# Thanks to Damien Thebault # # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="GShutdown is an advanced shutdown utility which allows you to schedule the shutdown or the restart of your computer, or logout your actual session." HOMEPAGE="http://gshutdown.tuxfamily.org" SRC_URI="http://gshutdown.tuxfamily.org/release/${PN}-${PV/_/}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="libnotify" DEPEND="dev-util/pkgconfig sys-libs/glibc >=x11-libs/gtk+-2.0.0 >=dev-libs/glib-2.6 >=gnome-base/libglade-2.0.0 libnotify? ( >=x11-libs/libnotify-0.3.2 )" RDEPEND="" S="${WORKDIR}/${PN}-${PV/_/}/" src_compile() { econf $(use_enable libnotify) || die "econf failed" emake || die "emake failed" } src_install() { einstall || die "einstall failed!" }