summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-07-02 10:16:39 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-07-02 10:16:39 +0000
commit71d07764a92e57299030db025bbdc467cfd9d43f (patch)
tree7490a21a53e6340ce7f3e526b6ebec34304cf329 /net-print/pnm2ppa
parentVersion bump to latest. (diff)
downloadgentoo-2-71d07764a92e57299030db025bbdc467cfd9d43f.tar.gz
gentoo-2-71d07764a92e57299030db025bbdc467cfd9d43f.tar.bz2
gentoo-2-71d07764a92e57299030db025bbdc467cfd9d43f.zip
Try to bump to latest release.
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'net-print/pnm2ppa')
-rw-r--r--net-print/pnm2ppa/ChangeLog9
-rw-r--r--net-print/pnm2ppa/pnm2ppa-1.13.ebuild71
2 files changed, 78 insertions, 2 deletions
diff --git a/net-print/pnm2ppa/ChangeLog b/net-print/pnm2ppa/ChangeLog
index 9e44c8cd0087..a561c9fd7594 100644
--- a/net-print/pnm2ppa/ChangeLog
+++ b/net-print/pnm2ppa/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/pnm2ppa
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v 1.17 2009/07/18 18:24:17 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v 1.18 2012/07/02 10:16:39 scarabeus Exp $
+
+*pnm2ppa-1.13 (02 Jul 2012)
+
+ 02 Jul 2012; Tomáš Chvátal <scarabeus@gentoo.org> +pnm2ppa-1.13.ebuild:
+ Try to bump to latest release.
18 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> pnm2ppa-1.12.ebuild,
files/pnm2ppa-1.12-gentoo.diff:
diff --git a/net-print/pnm2ppa/pnm2ppa-1.13.ebuild b/net-print/pnm2ppa/pnm2ppa-1.13.ebuild
new file mode 100644
index 000000000000..f63e7890062c
--- /dev/null
+++ b/net-print/pnm2ppa/pnm2ppa-1.13.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.13.ebuild,v 1.1 2012/07/02 10:16:39 scarabeus Exp $
+
+EAPI=4
+
+inherit base
+
+DESCRIPTION="Print driver for Hp Deskjet 710, 712, 720, 722, 820, 1000 series"
+HOMEPAGE="http://pnm2ppa.sourceforge.net"
+SRC_URI="mirror://sourceforge/pnm2ppa/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="syslog"
+
+# en on first place so others can override it
+LANGS="en cs es fr it nl"
+for lng in ${LANGS}; do
+ IUSE+=" linguas_${lng}"
+done
+
+RDEPEND="
+ app-text/ghostscript-gpl
+ net-print/cups
+ net-print/foomatic-filters
+ sys-libs/glibc
+ syslog? ( virtual/logger )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local lng i withval
+
+ for lng in ${LANGS}; do
+ if use linguas_${lng}; then
+ if [[ -n ${i} ]] ; then
+ ewarn "This package supports only one translation at a time."
+ ewarn "Overriding previous value: \"${withval}\" with \"${lng}\""
+ fi
+ withval="${lng}"
+ i=true
+ fi
+ done
+
+ econf \
+ --with-language="${lng}" \
+ --enable-vlink \
+ $(use_enable syslog)
+}
+
+src_install() {
+ default
+
+ dobin utils/Linux/detect_ppa utils/Linux/test_ppa
+
+ insinto /usr/share/pnm2ppa
+ doins -r lpd pdq
+
+ exeinto /usr/share/pnm2ppa/lpd
+ doexe lpd/lpdsetup
+
+ exeinto /usr/share/pnm2ppa/sample_scripts
+ doexe sample_scripts/*
+
+ exeinto /etc/pdq/drivers/ghostscript
+ doexe pdq/gs-pnm2ppa
+ exeinto /etc/pdq/interfaces
+ doexe pdq/dummy
+}