Lines 1-4
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-mailsync/pilot-mailsync-0.9.2.ebuild,v 1.1 2007/09/16 19:22:31 philantrop Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-mailsync/pilot-mailsync-0.9.2.ebuild,v 1.1 2007/09/16 19:22:31 philantrop Exp $ |
4 |
|
4 |
|
Lines 27-32
Link Here
|
27 |
unpack ${A} |
27 |
unpack ${A} |
28 |
fi |
28 |
fi |
29 |
cd "${S}" |
29 |
cd "${S}" |
|
|
30 |
|
31 |
sed -i -e '/strip .*/d' Makefile.in || die |
30 |
# Fixes bug 151351. |
32 |
# Fixes bug 151351. |
31 |
epatch "${FILESDIR}/pilot-mailsync-0.9.1-glibc.patch" |
33 |
epatch "${FILESDIR}/pilot-mailsync-0.9.1-glibc.patch" |
32 |
} |
34 |
} |
Lines 37-51
Link Here
|
37 |
# or removed with Gnome support. (Philantrop) |
39 |
# or removed with Gnome support. (Philantrop) |
38 |
append-flags -fPIC |
40 |
append-flags -fPIC |
39 |
|
41 |
|
40 |
cd "${S}" |
42 |
econf $(use_enable ssl) $(use_enable gnome gpilot) || die |
41 |
econf $(use_enable ssl) $(use_enable gnome gpilot) |
|
|
42 |
if use gnome; then |
43 |
if use gnome; then |
43 |
cd "${S}-gpilot" |
44 |
cd "${S}-gpilot" |
44 |
econf $(use_enable ssl) --enable-gpilot |
45 |
econf $(use_enable ssl) --enable-gpilot || die |
45 |
fi |
46 |
fi |
46 |
|
47 |
|
47 |
cd "${S}" |
48 |
emake || die |
48 |
emake || die "make failed" |
|
|
49 |
if use gnome; then |
49 |
if use gnome; then |
50 |
cd "${S}-gpilot" |
50 |
cd "${S}-gpilot" |
51 |
emake || die "gpilot plugin make failed" |
51 |
emake || die "gpilot plugin make failed" |
Lines 53-67
Link Here
|
53 |
} |
53 |
} |
54 |
|
54 |
|
55 |
src_install() { |
55 |
src_install() { |
56 |
cd "${S}" |
56 |
make RPM_BUILD_ROOT="${D}" install || die |
57 |
make RPM_BUILD_ROOT="${D}" install || die "install failed" |
57 |
dodoc README INSTALL docs/* || die |
58 |
dodoc README INSTALL docs/* || die "installing docs failed" |
|
|
59 |
|
58 |
|
60 |
if use gnome; then |
59 |
if use gnome; then |
61 |
cd "${S}-gpilot" |
60 |
cd "${S}-gpilot" |
62 |
insinto /usr/share/gnome-pilot/conduits/ |
61 |
insinto /usr/share/gnome-pilot/conduits/ |
63 |
doins mailsync.conduit |
62 |
doins mailsync.conduit || die |
64 |
insinto /usr/lib/gnome-pilot/conduits/ |
63 |
insinto /usr/lib/gnome-pilot/conduits/ |
65 |
doins .libs/libgnome_mailsync_conduit.so |
64 |
doins .libs/libgnome_mailsync_conduit.so || die |
66 |
fi |
65 |
fi |
67 |
} |
66 |
} |