Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/pnm2ppa: pnm2ppa-1.13-r1.ebuild ChangeLog pnm2ppa-1.13.ebuild
Date: Tue, 03 Jul 2012 08:32:28
Message-Id: 20120703083218.4FD242004B@flycatcher.gentoo.org
1 scarabeus 12/07/03 08:32:18
2
3 Modified: ChangeLog
4 Added: pnm2ppa-1.13-r1.ebuild
5 Removed: pnm2ppa-1.13.ebuild
6 Log:
7 Revision bump to install documentation. Thx to dilfridge.
8
9 (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.19 net-print/pnm2ppa/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/ChangeLog?rev=1.19&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/ChangeLog?rev=1.19&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/ChangeLog?r1=1.18&r2=1.19
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v
21 retrieving revision 1.18
22 retrieving revision 1.19
23 diff -u -r1.18 -r1.19
24 --- ChangeLog 2 Jul 2012 10:16:39 -0000 1.18
25 +++ ChangeLog 3 Jul 2012 08:32:18 -0000 1.19
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-print/pnm2ppa
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v 1.18 2012/07/02 10:16:39 scarabeus Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/ChangeLog,v 1.19 2012/07/03 08:32:18 scarabeus Exp $
31 +
32 +*pnm2ppa-1.13-r1 (03 Jul 2012)
33 +
34 + 03 Jul 2012; Tomáš Chvátal <scarabeus@g.o> +pnm2ppa-1.13-r1.ebuild,
35 + -pnm2ppa-1.13.ebuild:
36 + Revision bump to install documentation. Thx to dilfridge.
37
38 *pnm2ppa-1.13 (02 Jul 2012)
39
40
41
42
43 1.1 net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pnm2ppa-1.13-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild,v 1.1 2012/07/03 08:32:18 scarabeus Exp $
53
54 EAPI=4
55
56 inherit base
57
58 DESCRIPTION="Print driver for Hp Deskjet 710, 712, 720, 722, 820, 1000 series"
59 HOMEPAGE="http://pnm2ppa.sourceforge.net"
60 SRC_URI="mirror://sourceforge/pnm2ppa/${P}.tar.gz"
61
62 KEYWORDS="~amd64 ~x86"
63 SLOT="0"
64 LICENSE="GPL-2"
65 IUSE="syslog"
66
67 # en on first place so others can override it
68 LANGS="en cs es fr it nl"
69 for lng in ${LANGS}; do
70 IUSE+=" linguas_${lng}"
71 done
72
73 RDEPEND="
74 app-text/ghostscript-gpl
75 net-print/cups
76 net-print/foomatic-filters
77 sys-libs/glibc
78 syslog? ( virtual/logger )
79 "
80 DEPEND="${RDEPEND}"
81
82 src_configure() {
83 local lng i withval
84
85 for lng in ${LANGS}; do
86 if use linguas_${lng}; then
87 if [[ -n ${i} ]] ; then
88 ewarn "This package supports only one translation at a time."
89 ewarn "Overriding previous value: \"${withval}\" with \"${lng}\""
90 fi
91 withval="${lng}"
92 i=true
93 fi
94 done
95
96 econf \
97 --with-language="${lng}" \
98 --enable-vlink \
99 $(use_enable syslog)
100 }
101
102 src_install() {
103 default
104
105 dobin utils/Linux/detect_ppa utils/Linux/test_ppa
106
107 insinto /usr/share/pnm2ppa
108 doins -r lpd pdq
109
110 exeinto /usr/share/pnm2ppa/lpd
111 doexe lpd/lpdsetup
112
113 exeinto /usr/share/pnm2ppa/sample_scripts
114 doexe sample_scripts/*
115
116 exeinto /etc/pdq/drivers/ghostscript
117 doexe pdq/gs-pnm2ppa
118 exeinto /etc/pdq/interfaces
119 doexe pdq/dummy
120
121 # install docs
122 cd docs/en
123 dodoc CALIBRATION*txt COLOR*txt PPA*txt RELEASE* CREDITS README sgml/*.sgml
124
125 cd "${S}"
126 dohtml -r .
127 }