summaryrefslogtreecommitdiff
blob: d0dd03d1ac960cb767e768f37cf76df995f93c8f (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild,v 1.4 2004/06/24 23:06:17 agriffis Exp $

inherit eutils

IUSE=""

DESCRIPTION="wmCalendar is a calendar dockapp for Windowmaker."

HOMEPAGE="http://wmcalendar.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"

DEPEND="virtual/x11
			>=dev-libs/libical-0.24_rc4
			>=dev-util/pkgconfig-0.15.0
			>=x11-libs/gtk+-2.2.1-r1"

# default Makefile overwrites CC and CFAGS variables so we patch it
src_unpack() {
	unpack ${A}
	cd ${WORKDIR}
	epatch ${FILESDIR}/${P}.makefile.patch
}

S=${WORKDIR}/${P}/Src

src_install() {
	dodir /usr/bin /usr/man/man1
	make DESTDIR=${D}/usr install || die
	cd .. && dodoc BUGS CHANGES COPYING HINTS INSTALL README TODO || die
}