blob: fda6e848eb9d05326e431bff6a820d5139bcdb27 (
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
42
43
44
45
46
47
|
# Copyright 1999-2006 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-r1.ebuild,v 1.5 2006/10/10 07:16:21 s4t4n 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="ppc ~sparc x86"
DEPEND=">=dev-libs/libical-0.24_rc4
>=dev-util/pkgconfig-0.15.0
>=x11-libs/gtk+-2.2.1-r1
>=sys-apps/sed-4.0.9
>=x11-libs/libXpm-3.5.5"
S=${WORKDIR}/${P}/Src
src_unpack()
{
unpack ${A}
cd ${WORKDIR}
# default Makefile overwrites CC and CFLAGS variables so we patch it
epatch ${FILESDIR}/${P}.makefile.patch
# Fix compilation issues with gcc >= 4
epatch ${FILESDIR}/${P}-gcc4.patch
# remove unneeded SYSTEM variable from Makefile, fixing bug #105730
cd ${S}
sed -i -e "s:\$(SYSTEM)::" Makefile
}
src_install()
{
dodir /usr/bin /usr/man/man1
make DESTDIR=${D}/usr install || die
cd .. && dodoc BUGS CHANGES HINTS README TODO || die
}
|