summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-05-15 16:53:20 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-05-15 16:53:20 +0000
commit3e217b90480788513c085ad815386739dea5105d (patch)
tree285cf4169067b39d623864ae839888ba63f56866 /net-print/cups-pdf
parentx86 stable wrt security bug #416119 (diff)
downloadgentoo-2-3e217b90480788513c085ad815386739dea5105d.tar.gz
gentoo-2-3e217b90480788513c085ad815386739dea5105d.tar.bz2
gentoo-2-3e217b90480788513c085ad815386739dea5105d.zip
Version bump.
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'net-print/cups-pdf')
-rw-r--r--net-print/cups-pdf/ChangeLog8
-rw-r--r--net-print/cups-pdf/cups-pdf-3.0_beta1.ebuild47
2 files changed, 54 insertions, 1 deletions
diff --git a/net-print/cups-pdf/ChangeLog b/net-print/cups-pdf/ChangeLog
index 36e5b12ea7f0..3ba03c4cd409 100644
--- a/net-print/cups-pdf/ChangeLog
+++ b/net-print/cups-pdf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/cups-pdf
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/ChangeLog,v 1.52 2012/05/08 12:22:22 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/ChangeLog,v 1.53 2012/05/15 16:53:20 ssuominen Exp $
+
+*cups-pdf-3.0_beta1 (15 May 2012)
+
+ 15 May 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +cups-pdf-3.0_beta1.ebuild:
+ Version bump.
08 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> -cups-pdf-2.4.8.ebuild,
-cups-pdf-2.5.1-r1.ebuild:
diff --git a/net-print/cups-pdf/cups-pdf-3.0_beta1.ebuild b/net-print/cups-pdf/cups-pdf-3.0_beta1.ebuild
new file mode 100644
index 000000000000..c2da5748592d
--- /dev/null
+++ b/net-print/cups-pdf/cups-pdf-3.0_beta1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/cups-pdf-3.0_beta1.ebuild,v 1.1 2012/05/15 16:53:20 ssuominen Exp $
+
+EAPI=4
+inherit toolchain-funcs
+
+DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files."
+HOMEPAGE="http://www.cups-pdf.de/"
+SRC_URI="http://www.cups-pdf.de/src/${PN}_${PV/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+ppds"
+
+RDEPEND="net-print/cups
+ app-text/ghostscript-gpl"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-${PV/_}
+
+src_compile() {
+ pushd src >/dev/null
+ $(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -o ${PN} -lcups || die
+ popd >/dev/null
+}
+
+src_install () {
+ exeinto /usr/libexec/cups/backend
+ exeopts -m0700
+ doexe src/cups-pdf
+
+ insinto /etc/cups
+ doins extra/cups-pdf.conf
+
+ insinto /usr/share/cups/model
+ if use ppds; then
+ doins extra/CUPS-PDF_opt.ppd
+ else
+ doins extra/CUPS-PDF_noopt.ppd
+ fi
+
+ dodoc ChangeLog README
+
+ dodoc -r contrib
+}