blob: e53960a451190a87cb822a5807957385d1f9ddca (
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
57
58
59
60
61
62
63
|
# Copyright 1999-2008 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-r1.ebuild,v 1.1 2008/11/23 14:22:14 loki_val Exp $
EAPI=2
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}-9.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/mono-0.93
>=dev-dotnet/gtk-sharp-2
>=dev-dotnet/gconf-sharp-2
|| ( dev-dotnet/gtk-sharp[glade] >=dev-dotnet/glade-sharp-2 )
>=dev-dotnet/gnome-sharp-2
gnome-base/libgnomeprint
dev-dotnet/evolution-sharp"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.25"
G2CONF="${G2CONF} --enable-dbus=no"
DOCS="AUTHORS ChangeLog FAQ NEWS README TODO"
USE_DESTDIR="1"
src_unpack() {
unpack ${A}
epatch ${MY_P}-9.diff
cd "${S}"
while read line; do
if [[ "${line:0:2}" != "03" && "${line:0:2}" != "99" ]]
then
epatch debian/patches/"$line".dpatch
fi
done < debian/patches/00list
intltoolize --force || die
eautoreconf
}
src_configure() {
addwrite /root/.gconf
addwrite /root/.gconfd
gnome2_src_configure
}
src_compile() {
emake ||die "emake failed"
}
src_install() {
gnome2_src_install
keepdir /var/spool/gfax/doneq /var/spool/gfax/recq
}
|