summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/synce-gvfs/synce-gvfs-0.2.1.ebuild')
-rw-r--r--app-pda/synce-gvfs/synce-gvfs-0.2.1.ebuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/app-pda/synce-gvfs/synce-gvfs-0.2.1.ebuild b/app-pda/synce-gvfs/synce-gvfs-0.2.1.ebuild
index d43b9eb92ad6..e621d3ea0777 100644
--- a/app-pda/synce-gvfs/synce-gvfs-0.2.1.ebuild
+++ b/app-pda/synce-gvfs/synce-gvfs-0.2.1.ebuild
@@ -1,6 +1,6 @@
# 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.2.1.ebuild,v 1.4 2009/01/25 05:22:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-gvfs/synce-gvfs-0.2.1.ebuild,v 1.5 2009/01/27 02:08:12 mescalinum Exp $
inherit gnome2
@@ -29,6 +29,21 @@ DEPEND="dev-util/gtk-doc
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