blob: f72cc51bec0afd4604b21a15177a4587b41b7ba8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-gvfs/synce-gvfs-0.3.ebuild,v 1.1 2009/08/06 12:52:56 mescalinum Exp $
inherit gnome2
DESCRIPTION="SynCE - Gnome GVFS extensions"
HOMEPAGE="http://sourceforge.net/projects/synce/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
synce_PV="0.14"
gvfs_PV="1.2.3"
gvfs_P="gvfs-${gvfs_PV}"
gvfs_S="${WORKDIR}/${gvfs_P}"
SRC_URI="mirror://sourceforge/synce/${P}.tar.gz
mirror://gnome/sources/gvfs/${gvfs_PV%.*}/${gvfs_P}.tar.gz"
RDEPEND=">=gnome-base/${gvfs_P}
=app-pda/synce-libsynce-${synce_PV}*
=app-pda/synce-librapi2-${synce_PV}*"
DEPEND="dev-util/gtk-doc
${RDEPEND}"
RESTRICT="test"
src_unpack() {
unpack ${A}
cd "${S}"
# option --with-gvfs-source wants a *relative* path
# see "help packaging synce-gvfs and gnome-gvfs" on
# synce-devel list
ln -s "$gvfs_S" ./gvfs-src-tree
}
src_compile() {
econf --with-gvfs-source=./gvfs-src-tree || die "configure failed"
emake dist || die "emake dist failed"
emake || die "compile failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README
}
|