/[gentoo-x86]/x11-plugins/wmcalendar/wmcalendar-0.5.0-r1.ebuild
Gentoo

Contents of /x11-plugins/wmcalendar/wmcalendar-0.5.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Jun 29 13:15:07 2008 UTC (6 years, 2 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalendar/wmcalendar-0.5.0-r1.ebuild,v 1.6 2008/05/03 07:17:17 drac Exp $
4
5 inherit eutils
6
7 IUSE=""
8
9 DESCRIPTION="wmCalendar is a calendar dockapp for Windowmaker."
10
11 HOMEPAGE="http://wmcalendar.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="ppc ~sparc x86"
17
18 RDEPEND=">=dev-libs/libical-0.24_rc4
19 >=x11-libs/gtk+-2.2.1-r1
20 >=x11-libs/libXpm-3.5.5"
21 DEPEND="${RDEPEND}
22 dev-util/pkgconfig"
23
24 S=${WORKDIR}/${P}/Src
25
26 src_unpack()
27 {
28 unpack ${A}
29 cd ${WORKDIR}
30
31 # default Makefile overwrites CC and CFLAGS variables so we patch it
32 epatch ${FILESDIR}/${P}.makefile.patch
33
34 # Fix compilation issues with gcc >= 4
35 epatch ${FILESDIR}/${P}-gcc4.patch
36
37 # remove unneeded SYSTEM variable from Makefile, fixing bug #105730
38 cd ${S}
39 sed -i -e "s:\$(SYSTEM)::" Makefile
40 }
41
42 src_install()
43 {
44 dodir /usr/bin /usr/man/man1
45 make DESTDIR=${D}/usr install || die
46 cd .. && dodoc BUGS CHANGES HINTS README TODO || die
47 }

  ViewVC Help
Powered by ViewVC 1.1.20