# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdate/wmdate-0.7.ebuild,v 1.9 2006/01/24 22:59:20 nelchael Exp $ inherit eutils IUSE="" DESCRIPTION="yet another date-display dock application" SRC_URI="http://solfertje.student.utwente.nl/~dalroi/${PN}/files/${P}.tar.gz" HOMEPAGE="http://solfertje.student.utwente.nl/~dalroi/applications.php" DEPEND="x11-libs/libdockapp" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc ppc64 ~sparc amd64" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-ComplexProgramTargetNoMan.patch } src_compile() { cd ${S} PATH="$PATH:/usr/X11R6/bin" xmkmf -a emake CDEBUGFLAGS="${CFLAGS}" || die "make failed" } src_install() { einstall DESTDIR=${D} BINDIR=/usr/bin || DIE "make install failed" dodoc README insinto /usr/share/applications doins ${FILESDIR}/${PN}.desktop }