blob: 26218b14bc86edc8c96abaed52cf318aef9b9d9f (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gfax/gfax-0.6.4.ebuild,v 1.1 2004/11/27 14:26:49 genstef Exp $
inherit eutils
DESCRIPTION="Gfax is a free fax front end"
HOMEPAGE="http://gfax.cowlug.org/"
SRC_URI="http://gfax.cowlug.org/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-dotnet/mono-0.93
>=dev-dotnet/gtk-sharp-0.93"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/gfax.Makefile.fix
}
src_compile() {
emake || die "emake failed"
}
src_install() {
dodir /usr/bin/ /usr/share/pixmaps/ /usr/share/applications/
make DESTDIR="${D}" install || die "make install failed"
insinto /usr/share/gfax/data
doins data/gfax.schema
local i
for i in /usr/share/libgnomeprint/*
do
insinto ${i}/printers
doins ${D}/usr/share/gfax/GFAX.xml
insinto ${i}/models
doins ${D}/usr/share/gfax/GNOME-GFAX-PS.xml
done
keepdir /var/spool/gfax
}
pkg_postinst() {
einfo "Please run"
echo 'env GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule /usr/share/gfax/data/gfax.schema'
einfo "as your local user, to get gfax working"
}
|