summaryrefslogtreecommitdiff
blob: 5341692b9a37d9fd9c317c94f2888a94adf84cfd (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-2004 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.1 2004/07/17 01:31:38 s4t4n 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"

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
}