summaryrefslogtreecommitdiff
path: root/net-print/pnm2ppa
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-print/pnm2ppa
reinit the tree, so we can have metadata
Diffstat (limited to 'net-print/pnm2ppa')
-rw-r--r--net-print/pnm2ppa/Manifest5
-rw-r--r--net-print/pnm2ppa/metadata.xml11
-rw-r--r--net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild77
3 files changed, 93 insertions, 0 deletions
diff --git a/net-print/pnm2ppa/Manifest b/net-print/pnm2ppa/Manifest
new file mode 100644
index 000000000000..dae722b15715
--- /dev/null
+++ b/net-print/pnm2ppa/Manifest
@@ -0,0 +1,5 @@
+DIST pnm2ppa-1.13.tar.gz 291190 SHA256 1c50ea2c97b232f5bee6ac3fab408d64b6f1380f1e289ac278778a7e368e7379 SHA512 8f96792cf7f03fd024db9a8d338f06d7484fa4474c1cd73048c90f0e88ae5540df30e6894c0bbc82dfd87126fc72875b6d71b2031c0e24b343ef88f51d00bb7a WHIRLPOOL e3403313cd83fb1fea9a068b812e2124ff7f137b73c0d8909f0dad3f55b85b362bff1ef87df70ec6741f0359f760dba34293e5a2c07ec237b008792576cfc1f3
+EBUILD pnm2ppa-1.13-r1.ebuild 1566 SHA256 64d46967af496a44ed948d10df8c48def53f070f2f1217ff47c5655df437ea0c SHA512 0fd91ed5cfd9b98227532be31a147e767a8db4283214dcfc0641e312c51454f4ac4e4275e4a85c1dd2567cb53ed743fb4d5f44703348eaca38979dcc65184202 WHIRLPOOL eea9eed3c71d5df658a6938dab8b291e8004067b0f280451f0d08445407481a7406a8719fdafd74d85522cf2b753038881004c78d2b12f296aee2130e3e8f966
+MISC ChangeLog 2465 SHA256 e502a1ed962162fc919ac978f16afb29a5d0336b731924339426efe6234160b1 SHA512 06af8c33ee7f9aa157d5fd104bccce35ecaf6655bfbacd2b246a5e83225112bc01c4e88643b612618352ef30985b44e80012022e06172869ecc1c97925feb2f8 WHIRLPOOL 2d994ef550952c2ad34c3dc3a71b63e887eab73d7a295789a9b10c5652d5c926768fe4f690bfa158e0ecc79ebaf8a13408a03a761d6de27e55ac2474a050546b
+MISC ChangeLog-2015 4097 SHA256 1527e87211c513bef58b26713cca29d37749798412c1d2c2d7877fc4b0e50373 SHA512 d2e18d736c86463dae44b4625a66be4f18c27a5249ffbff88243fea3c2efcd1dfa790cfa81c37eac389016fcea23e92ae96c4ec2dad08a032c8be79260ef7725 WHIRLPOOL 6e7b2f55775ad40e315bf337dcff666242f270c4ab0e594628599934a687247bad3f2653a82501644117ecde46c746a3a1cf095ac02ff8a48f52f082ef72463f
+MISC metadata.xml 336 SHA256 74903778b696e885b8e00a7c640fdb555c0bc8e9b537f062ed0cbb6d5dcef494 SHA512 345cc7f244621dee98b191a5b9704783490eccf9b27cda4c8d052657ebb35dc441ab752014a34f171115b26a9a2d8650c9cb2afc788e9271be6d91d47de3a507 WHIRLPOOL 7e52bbe6265280652134330e261812dce0220d51545fa32409c2e9a1688b2bdd8e0ea96b2eb3c982957523c13bcf2e55604bfeeeb119b009e226294be7b700dc
diff --git a/net-print/pnm2ppa/metadata.xml b/net-print/pnm2ppa/metadata.xml
new file mode 100644
index 000000000000..694dbab7c8b5
--- /dev/null
+++ b/net-print/pnm2ppa/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>printing@gentoo.org</email>
+ <name>Gentoo Printing Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">pnm2ppa</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild b/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
new file mode 100644
index 000000000000..0e30bb154713
--- /dev/null
+++ b/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/cups-filters-1.0.43-r1[foomatic] 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
+
+ # install docs
+ cd docs/en
+ dodoc CALIBRATION*txt COLOR*txt PPA*txt RELEASE* CREDITS README sgml/*.sgml
+
+ cd "${S}"
+ dohtml -r .
+}