diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2004-11-27 14:26:49 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2004-11-27 14:26:49 +0000 |
commit | 16f1217f26de3524b959a5e1b3b93f670a0c2103 (patch) | |
tree | 0553ecc6a7a6fb009294154599745b0771bca9ae /net-misc/gfax | |
parent | Kernel header fix, closes bug 62502, thank2 to Tobias Klauser <tklauser@nuers... (diff) | |
download | gentoo-2-16f1217f26de3524b959a5e1b3b93f670a0c2103.tar.gz gentoo-2-16f1217f26de3524b959a5e1b3b93f670a0c2103.tar.bz2 gentoo-2-16f1217f26de3524b959a5e1b3b93f670a0c2103.zip |
Initial commit, ebuild by me
Diffstat (limited to 'net-misc/gfax')
-rw-r--r-- | net-misc/gfax/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/gfax/Manifest | 4 | ||||
-rw-r--r-- | net-misc/gfax/files/digest-gfax-0.6.4 | 1 | ||||
-rw-r--r-- | net-misc/gfax/files/gfax.Makefile.fix | 35 | ||||
-rw-r--r-- | net-misc/gfax/gfax-0.6.4.ebuild | 49 | ||||
-rw-r--r-- | net-misc/gfax/metadata.xml | 9 |
6 files changed, 108 insertions, 0 deletions
diff --git a/net-misc/gfax/ChangeLog b/net-misc/gfax/ChangeLog new file mode 100644 index 000000000000..adbdb3957758 --- /dev/null +++ b/net-misc/gfax/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/gfax +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/gfax/ChangeLog,v 1.1 2004/11/27 14:26:49 genstef Exp $ + +*gfax-0.6.4 (27 Nov 2004) + + 27 Nov 2004; Stefan Schweizer <genstef@gentoo.org> +metadata.xml, + +files/gfax.Makefile.fix, +gfax-0.6.4.ebuild: + Initial commit, ebuild by me + diff --git a/net-misc/gfax/Manifest b/net-misc/gfax/Manifest new file mode 100644 index 000000000000..d0aab98dbab7 --- /dev/null +++ b/net-misc/gfax/Manifest @@ -0,0 +1,4 @@ +MD5 1f84404bd3b3c86e5aa8b167c5bae337 gfax-0.6.4.ebuild 1097 +MD5 c53eee9a4a730fba7506b48bf7f2ab65 metadata.xml 266 +MD5 7545276372ae90ca163db2d8b085504f files/digest-gfax-0.6.4 62 +MD5 22016d3e713e7071754daf80c1f1547c files/gfax.Makefile.fix 1600 diff --git a/net-misc/gfax/files/digest-gfax-0.6.4 b/net-misc/gfax/files/digest-gfax-0.6.4 new file mode 100644 index 000000000000..dd88e7820005 --- /dev/null +++ b/net-misc/gfax/files/digest-gfax-0.6.4 @@ -0,0 +1 @@ +MD5 9ec7185ed012607fa529b5758e02e0d2 gfax-0.6.4.tar.gz 150904 diff --git a/net-misc/gfax/files/gfax.Makefile.fix b/net-misc/gfax/files/gfax.Makefile.fix new file mode 100644 index 000000000000..61e59a95c7bc --- /dev/null +++ b/net-misc/gfax/files/gfax.Makefile.fix @@ -0,0 +1,35 @@ +--- Makefile.orig 2004-11-27 11:02:17.808734280 +0100 ++++ Makefile 2004-11-27 11:02:52.047529192 +0100 +@@ -39,20 +39,18 @@ + + install: mono-gfax.exe + mkdir -p $(prefix)/bin +- mkdir -p /usr/share/gfax +- mkdir -p /var/spool/gfax +- chmod 777 /var/spool/gfax +- $(INSTALL) -m 755 mono-gfax.exe /usr/bin/mono-gfax.exe +- $(INSTALL) -m 755 gfax /usr/bin/gfax +- $(INSTALL) -m 755 gfaxlpr /usr/bin/gfaxlpr +- $(INSTALL) -m 755 pixmaps/gfax.png /usr/share/pixmaps/ +- $(INSTALL) -m 755 data/gfax.desktop /usr/share/applications/ +- $(INSTALL) -m 755 data/fax-g3.profile /usr/share/gfax/ +- $(INSTALL) -m 755 data/GFAX.xml /usr/share/gfax/ +- $(INSTALL) -m 755 data/GNOME-GFAX-PS.xml /usr/share/gfax/ +- $(INSTALL) -m 755 scripts/printer-setup.sh /usr/share/gfax/ +- env GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule $(SCHEMA) +- ./scripts/printer-setup.sh --install ++ mkdir -p $(DESTDIR)/usr/share/gfax ++ mkdir -p $(DESTDIR)/var/spool/gfax ++ chmod 777 $(DESTDIR)/var/spool/gfax ++ $(INSTALL) -m 755 mono-gfax.exe $(DESTDIR)/usr/bin/mono-gfax.exe ++ $(INSTALL) -m 755 gfax $(DESTDIR)/usr/bin/gfax ++ $(INSTALL) -m 755 gfaxlpr $(DESTDIR)/usr/bin/gfaxlpr ++ $(INSTALL) -m 755 pixmaps/gfax.png $(DESTDIR)/usr/share/pixmaps/ ++ $(INSTALL) -m 755 data/gfax.desktop $(DESTDIR)/usr/share/applications/ ++ $(INSTALL) -m 755 data/fax-g3.profile $(DESTDIR)/usr/share/gfax/ ++ $(INSTALL) -m 755 data/GFAX.xml $(DESTDIR)/usr/share/gfax/ ++ $(INSTALL) -m 755 data/GNOME-GFAX-PS.xml $(DESTDIR)/usr/share/gfax/ ++ $(INSTALL) -m 755 scripts/printer-setup.sh $(DESTDIR)/usr/share/gfax/ + + uninstall: + rm -f /usr/bin/mono-gfax.exe diff --git a/net-misc/gfax/gfax-0.6.4.ebuild b/net-misc/gfax/gfax-0.6.4.ebuild new file mode 100644 index 000000000000..26218b14bc86 --- /dev/null +++ b/net-misc/gfax/gfax-0.6.4.ebuild @@ -0,0 +1,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" +} diff --git a/net-misc/gfax/metadata.xml b/net-misc/gfax/metadata.xml new file mode 100644 index 000000000000..9bfa06c9791a --- /dev/null +++ b/net-misc/gfax/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>comm-fax</herd> + <maintainer> + <email>genstef@gentoo.org</email> + <name>Stefan Schweizer</name> + </maintainer> +</pkgmetadata> |