diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-05-10 16:03:21 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-05-10 16:03:21 +0000 |
commit | d4df7f0f3edff71adee89cd6ca246f7312980265 (patch) | |
tree | 6846f2a33655d8a48f458949fdbe069d333c7b1d /net-print/cups-pdf/cups-pdf-1.7.0a.ebuild | |
parent | keywords all to testing (diff) | |
download | gentoo-2-d4df7f0f3edff71adee89cd6ca246f7312980265.tar.gz gentoo-2-d4df7f0f3edff71adee89cd6ca246f7312980265.tar.bz2 gentoo-2-d4df7f0f3edff71adee89cd6ca246f7312980265.zip |
version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-print/cups-pdf/cups-pdf-1.7.0a.ebuild')
-rw-r--r-- | net-print/cups-pdf/cups-pdf-1.7.0a.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-print/cups-pdf/cups-pdf-1.7.0a.ebuild b/net-print/cups-pdf/cups-pdf-1.7.0a.ebuild new file mode 100644 index 000000000000..c13d3f6915f0 --- /dev/null +++ b/net-print/cups-pdf/cups-pdf-1.7.0a.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/cups-pdf-1.7.0a.ebuild,v 1.1 2005/05/10 16:03:21 lanius Exp $ + +DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files." +HOMEPAGE="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/" +MY_P="${PN}_${PV/_/}" +SRC_URI="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~sparc ~ppc" +IUSE="" + +DEPEND="net-print/cups + virtual/ghostscript" + +src_compile() { + cd src + sed -i -e "s:CPLOGTYPE 3:CPLOGTYPE 2:" \ + -e "s:CPSH \"-s /bin/sh\":CPSH \"\":" \ + -e "s:nobody:lp:" cups-pdf.h + gcc ${CFLAGS} -o cups-pdf cups-pdf.c || die "Compilation failed." +} + +src_install () { + dodir /usr/lib/cups/backend + exeinto /usr/lib/cups/backend + doexe src/cups-pdf + + dodir /usr/share/cups/model + insinto /usr/share/cups/model + doins extra/PostscriptColor.ppd.gz +} |