1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils autotools
7 MY_PN="Rainlendar-Lite"
9 DESCRIPTION="A very useful x11 calendar"
10 HOMEPAGE="http://www.rainlendar.net"
11 SRC_URI="http://www.rainlendar.net/download/${MY_P}.tar.bz2"
19 REPEND=">=x11-libs/gtk+-2
26 x11-libs/libXcomposite
30 S=${WORKDIR}/rainlendar2
32 RESTRICT="mirror strip"
34 QA_TEXTRELS="opt/rainlendar2/plugins/iCalendarPlugin.so"
37 if ! built_with_use '=x11-libs/gtk+-2*' xinerama ; then
38 einfo "Please re-emerge x11-libs/gtk+ with the xinerama USE flag set"
39 die "rainlendar needs the xinerama use flag set"
44 insinto /opt/rainlendar2
45 doins -r locale plugins resources scripts skins rainlendar2.htb
46 # the executable searches in . for the dirs above
47 exeinto /opt/rainlendar2
49 dosym /opt/rainlendar2/rainlendar2 /usr/bin/rainlendar2