summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-03-19 22:44:34 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-03-19 22:44:34 +0100
commit93a59d15330f7adc32e214a3e4f162e0bbad797f (patch)
treec907dcb08df8a069774587b74b3790f6f4b1ebf2 /net-print/cups-pdf
parentwww-client/epiphany: remove old 3.22.4, vulnerable to a password manager swee... (diff)
downloadgentoo-93a59d15330f7adc32e214a3e4f162e0bbad797f.tar.gz
gentoo-93a59d15330f7adc32e214a3e4f162e0bbad797f.tar.bz2
gentoo-93a59d15330f7adc32e214a3e4f162e0bbad797f.zip
net-print/cups-pdf: Version bump to 3.0.1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'net-print/cups-pdf')
-rw-r--r--net-print/cups-pdf/Manifest1
-rw-r--r--net-print/cups-pdf/cups-pdf-3.0.1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/net-print/cups-pdf/Manifest b/net-print/cups-pdf/Manifest
index a91a48f79668..06c60ab0735b 100644
--- a/net-print/cups-pdf/Manifest
+++ b/net-print/cups-pdf/Manifest
@@ -1,3 +1,4 @@
DIST cups-pdf_2.6.1.tar.gz 33315 SHA256 04e17eb563dceea048e1a435edcbcf52faa5288f85e8390cd64d702edb6745f1 SHA512 60702159907f95e005c93a38551b5aaa65b7e4b8e009b48becf4523d606c4bbb127e81e5acf8519ce4c9aed90b41deb01d80171f3145086351dbd022863a3816 WHIRLPOOL dec796386df1b13c6fa8cfaed71cf9442a0aa8fc8ba739f8aa8ac3f2fc1e0ec3a1cbd205835f6f10314b805b0744641f3788458863df63104373bbf11e64e886
DIST cups-pdf_3.0.0.tar.gz 29654 SHA256 a0b94d09ccf92761a83e1af13fcdbfba737d7fcbbe2774ec24297ddbbf13aebe SHA512 14420e50b9ac93d12e75b98ba8c3456d35a3bcce0778eee8308ac7a3c3a987b4dca5a4f140353bd2060a5f0f4d3434c442b00ea309660b4e5a72fe11dba25276 WHIRLPOOL f95b21be0db15e2aa6af8d769a5d8efcf4447c3b69a2e7128f6ba51ce6e8c575aec78c69ef97ad8b6e7cc69c6a10635acf52b81ba0e415b553e99bef5675864e
+DIST cups-pdf_3.0.1.tar.gz 29754 SHA256 738669edff7f1469fe5e411202d87f93ba25b45f332a623fb607d49c59aa9531 SHA512 a06580f3056dddbb883c8db0c71b37b883482ae1ac8aa9bcfd85e679c4dcb44278006b7110d2988173d0eeb05b0f19fb39081fad49bf26839235e97fbe27a818 WHIRLPOOL e84ab73c79dffc84f88c9285ad8672cb745f6b1cbb1ca5c72566af259026393649776093229a7588b4d071248d8fc1401c7cfbaf3e26fd96d8aa50b7aed40c4e
DIST cups-pdf_3.0beta1.tar.gz 38040 SHA256 d8f30740e0092e7b53cd228d9ddae8085bde744b5e63064bf79ad0c3e3ebe578 SHA512 89d77bf8daa4f82cde4db32c607a5d503ae37bc720906b9fafbd7dedac3cb522fbc342475cf4cff62fdbb16c59c7a1a62814cf85492f6a97e277e64c886985f5 WHIRLPOOL 6d44d4c62f198a4b8da83791bb22bad9e3a43dbcad2a587729e41eb80cd9a5cb14561dff522c6452cb591ad6463b14d9d0ff41b19e7c58db494db421d2446bf6
diff --git a/net-print/cups-pdf/cups-pdf-3.0.1.ebuild b/net-print/cups-pdf/cups-pdf-3.0.1.ebuild
new file mode 100644
index 000000000000..4bc7323b0012
--- /dev/null
+++ b/net-print/cups-pdf/cups-pdf-3.0.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~arm ~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
+}