# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/knutclient/knutclient-0.8.1_pre2.ebuild,v 1.5 2004/08/30 23:23:34 dholm Exp $ inherit kde MY_P=${P/_/-} S=${WORKDIR}/${MY_P} DESCRIPTION="Client for the NUT UPS monitoring daemon" HOMEPAGE="http://www.alo.cz/knutclient-pop-en.html" SRC_URI="ftp://ftp.buzuluk.cz/pub/alo/knutclient/devel/${MY_P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc" IUSE="" need-kde 3.1 src_compile() { econf || die emake || die } src_install() { # Makefile: user/group nut might not exist until after # pkg_preinst() runs; so use root for now, and fix it # up in pkg_postinst(). make DESTDIR=${D} install || die dodoc AUTHORS COPYING ChangeLog INSTALL README TODO }