summaryrefslogtreecommitdiff
blob: 40625e9852f03982fb80d4d41c7258b43751fb11 (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
51
52
53
54
55
56
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gfax/gfax-0.7.6.ebuild,v 1.2 2007/06/26 02:31:42 mr_bones_ Exp $

inherit gnome2 mono eutils autotools

MY_P="gfax_0.7.6"
DESCRIPTION="Gfax is a free fax front end"
HOMEPAGE="http://gfax.cowlug.org/"
#SRC_URI="http://gfax.cowlug.org/${P}-1.tar.gz"
SRC_URI="mirror://debian/pool/main/g/gfax/${MY_P}.orig.tar.gz
	mirror://debian/pool/main/g/gfax/${MY_P}-2.diff.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RDEPEND=">=dev-lang/mono-0.93
	>=dev-dotnet/gtk-sharp-2
	>=dev-dotnet/gconf-sharp-2
	>=dev-dotnet/glade-sharp-2
	>=dev-dotnet/gnome-sharp-2
	gnome-base/libgnomeprint
	dev-dotnet/evolution-sharp"
DEPEND="${RDEPEND}
	>=dev-util/intltool-0.25"

S=${WORKDIR}/${MY_P/_/-}

G2CONF="${G2CONF} --enable-dbus=no"
DOCS="AUTHORS ChangeLog FAQ NEWS README TODO"
USE_DESTDIR="1"

src_unpack() {
	unpack ${A}
	cd ${S}
	patch -p1 < ${WORKDIR}/${MY_P}-2.diff
	for i in debian/patches/*.dpatch; do
		patch -p1 < $i
	done
	eautomake
}

src_compile() {
	addwrite /root/.gconf
	addwrite /root/.gconfd
	gnome2_src_compile
}


src_install() {
	gnome2_src_install

	keepdir /var/spool/gfax/doneq /var/spool/gfax/recq
}