/[gentoo-x86]/app-pda/jpilot/jpilot-1.8.0.ebuild
Gentoo

Contents of /app-pda/jpilot/jpilot-1.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu May 3 20:20:57 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.8: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-pda/jpilot/jpilot-1.8.0.ebuild,v 1.8 2011/03/31 04:02:48 ssuominen Exp $
4
5 EAPI=2
6 inherit autotools eutils
7
8 DESCRIPTION="Desktop Organizer Software for the Palm Pilot"
9 HOMEPAGE="http://www.jpilot.org/"
10 SRC_URI="http://www.jpilot.org/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 ia64 ppc x86"
15 IUSE="nls"
16
17 RDEPEND=">=app-pda/pilot-link-0.12.5
18 dev-libs/libgcrypt
19 >=x11-libs/gtk+-2.18.9:2"
20 DEPEND="${RDEPEND}
21 nls? ( dev-util/intltool
22 sys-devel/gettext )
23 virtual/pkgconfig"
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${P}-char.patch
27 mv -vf empty/Ma*anaDB.pdb empty/MananaDB.pdb || die
28
29 sed -i \
30 -e '/^Icon/s:jpilot.xpm:/usr/share/pixmaps/jpilot/jpilot-icon1.xpm:' \
31 jpilot.desktop || die
32
33 echo calendar.c > po/POTFILES.skip
34
35 eautoreconf
36 }
37
38 src_configure() {
39 econf \
40 $(use_enable nls)
41 }
42
43 src_install() {
44 emake \
45 DESTDIR="${D}" \
46 icondir="/usr/share/pixmaps/${PN}" \
47 miscdir="/usr/share/doc/${PF}" \
48 install || die
49
50 rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} \
51 "${D}"/usr/share/pixmaps/${PN}/README
52
53 find "${D}" -name '*.la' -delete
54 }

  ViewVC Help
Powered by ViewVC 1.1.20