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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Aug 29 03:22:02 2012 UTC (22 months, 1 week ago) by blueness
Branch: MAIN
Changes since 1.2: +2 -2 lines
Keyword ~arm

(Portage version: 2.1.11.9/cvs/Linux x86_64)

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.1.ebuild,v 1.2 2012/05/03 20:20:57 jdhore Exp $
4
5 EAPI=4
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 ~arm ~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 eautoreconf
34 }
35
36 src_configure() {
37 econf \
38 $(use_enable nls)
39 }
40
41 src_install() {
42 emake \
43 DESTDIR="${D}" \
44 icondir="/usr/share/pixmaps/${PN}" \
45 miscdir="/usr/share/doc/${PF}" \
46 install
47
48 rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} \
49 "${D}"/usr/share/pixmaps/${PN}/README
50
51 find "${D}" -name '*.la' -exec rm -f {} +
52 }

  ViewVC Help
Powered by ViewVC 1.1.20