summaryrefslogtreecommitdiff
blob: 09f0c50232a770e6b5cf9a0e390d55d9467b728e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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
}