summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-01-22 20:55:29 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-01-22 20:55:29 +0000
commit8eb0fc4d0d1c6a8bd5b78040250dbeea7dee2796 (patch)
tree4c632829ffea68bf08610801cea4158d1514e3c7
parentVersion bump wrt bug #399757. (diff)
downloadgentoo-2-8eb0fc4d0d1c6a8bd5b78040250dbeea7dee2796.tar.gz
gentoo-2-8eb0fc4d0d1c6a8bd5b78040250dbeea7dee2796.tar.bz2
gentoo-2-8eb0fc4d0d1c6a8bd5b78040250dbeea7dee2796.zip
Version bump with a lot of improvements, thanks to Tilo Prütz in bug 348877.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
-rw-r--r--net-print/fax4cups/ChangeLog9
-rw-r--r--net-print/fax4cups/fax4cups-1.29.ebuild50
-rw-r--r--net-print/fax4cups/metadata.xml6
3 files changed, 63 insertions, 2 deletions
diff --git a/net-print/fax4cups/ChangeLog b/net-print/fax4cups/ChangeLog
index fa3c3e0523ac..80bcb48e19d9 100644
--- a/net-print/fax4cups/ChangeLog
+++ b/net-print/fax4cups/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/fax4cups
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/fax4cups/ChangeLog,v 1.18 2007/11/23 18:42:59 drac Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/fax4cups/ChangeLog,v 1.19 2012/01/22 20:55:29 dilfridge Exp $
+
+*fax4cups-1.29 (22 Jan 2012)
+
+ 22 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> +fax4cups-1.29.ebuild:
+ Version bump with a lot of improvements, thanks to Tilo Prütz in bug 348877.
23 Nov 2007; Samuli Suominen <drac@gentoo.org> fax4cups-1.28.ebuild:
amd64 stable wrt #194298
diff --git a/net-print/fax4cups/fax4cups-1.29.ebuild b/net-print/fax4cups/fax4cups-1.29.ebuild
new file mode 100644
index 000000000000..722c2a8b23c8
--- /dev/null
+++ b/net-print/fax4cups/fax4cups-1.29.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/fax4cups/fax4cups-1.29.ebuild,v 1.1 2012/01/22 20:55:29 dilfridge Exp $
+
+EAPI=4
+
+DESCRIPTION="Fax backend for CUPS"
+
+HOMEPAGE="http://vigna.dsi.unimi.it/fax4CUPS/"
+SRC_URI="http://vigna.dsi.unimi.it/fax4CUPS/fax4CUPS-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+hylafax mgetty-fax efax capisuite-fax"
+
+DEPEND="net-print/cups"
+RDEPEND="${DEPEND}
+ || (
+ hylafax? ( net-misc/hylafax )
+ efax? ( net-misc/efax )
+ mgetty-fax? ( net-dialup/mgetty )
+ capisuite-fax? ( net-dialup/capisuite )
+ )
+ app-admin/sudo"
+
+S=${WORKDIR}/fax4CUPS-${PV}
+
+REQUIRED_USE="|| ( hylafax mgetty-fax efax capisuite-fax )"
+
+src_install() {
+ doman fax4CUPS.1
+
+ exeinto $(cups-config --serverbin)/backend
+ insinto /usr/share/cups/model
+
+ for i in hylafax efax mgetty-fax capisuite-fax; do
+ if use $i
+ then
+ # Backend
+ doexe $i
+ # PPD
+ doins $i.ppd
+ fi
+ done
+}
+
+pkg_postinst() {
+ elog "Please execute '/etc/init.d/cups restart'"
+ elog "to get the *.ppd files working properly"
+}
diff --git a/net-print/fax4cups/metadata.xml b/net-print/fax4cups/metadata.xml
index 1fa0ca569505..00a86f66c960 100644
--- a/net-print/fax4cups/metadata.xml
+++ b/net-print/fax4cups/metadata.xml
@@ -2,4 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>printing</herd>
+<use>
+ <flag name="hylafax">Install net-misc/hylafax backend</flag>
+ <flag name="efax">Install net-misc/efax backend</flag>
+ <flag name="mgetty-fax">Install net-dialup/mgetty backend</flag>
+ <flag name="capisuite-fax">Install net-dialup/capisuite backend</flag>
+</use>
</pkgmetadata>