summaryrefslogtreecommitdiff
blob: 7a8a531ed4bfed76f0d5053df3a202140989ece7 (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
41
# Copyright 1999-2005 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.8 2005/05/15 00:47:48 luckyduck 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="virtual/x11
	>=x11-libs/libdockapp-0.4.0-r1"

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
}