From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-print/cndrvcups-common-lb: cndrvcups-common-lb-2.70-r1.ebuild ChangeLog cndrvcups-common-lb-2.70.ebuild |
Date: | Mon, 01 Jul 2013 19:04:09 |
Message-Id: | 20130701190405.C35C12171C@flycatcher.gentoo.org |
1 | pacho 13/07/01 19:04:05 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cndrvcups-common-lb-2.70-r1.ebuild |
5 | Removed: cndrvcups-common-lb-2.70.ebuild |
6 | Log: |
7 | Install in proper path |
8 | |
9 | (Portage version: 2.1.12.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 | |
11 | Revision Changes Path |
12 | 1.2 net-print/cndrvcups-common-lb/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cndrvcups-common-lb/ChangeLog?rev=1.2&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cndrvcups-common-lb/ChangeLog?rev=1.2&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cndrvcups-common-lb/ChangeLog?r1=1.1&r2=1.2 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/net-print/cndrvcups-common-lb/ChangeLog,v |
21 | retrieving revision 1.1 |
22 | retrieving revision 1.2 |
23 | diff -u -r1.1 -r1.2 |
24 | --- ChangeLog 29 Jun 2013 11:29:50 -0000 1.1 |
25 | +++ ChangeLog 1 Jul 2013 19:04:05 -0000 1.2 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for net-print/cndrvcups-common-lb |
28 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/net-print/cndrvcups-common-lb/ChangeLog,v 1.1 2013/06/29 11:29:50 pacho Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-print/cndrvcups-common-lb/ChangeLog,v 1.2 2013/07/01 19:04:05 pacho Exp $ |
31 | + |
32 | +*cndrvcups-common-lb-2.70-r1 (01 Jul 2013) |
33 | + |
34 | + 01 Jul 2013; Pacho Ramos <pacho@g.o> |
35 | + +cndrvcups-common-lb-2.70-r1.ebuild, -cndrvcups-common-lb-2.70.ebuild: |
36 | + Install in proper path |
37 | |
38 | *cndrvcups-common-lb-2.70 (29 Jun 2013) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 net-print/cndrvcups-common-lb/cndrvcups-common-lb-2.70-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cndrvcups-common-lb/cndrvcups-common-lb-2.70-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cndrvcups-common-lb/cndrvcups-common-lb-2.70-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: cndrvcups-common-lb-2.70-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2013 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/net-print/cndrvcups-common-lb/cndrvcups-common-lb-2.70-r1.ebuild,v 1.1 2013/07/01 19:04:05 pacho Exp $ |
53 | |
54 | EAPI=5 |
55 | inherit autotools versionator |
56 | |
57 | MY_PV="$(delete_all_version_separators)" |
58 | SOURCES_NAME="Linux_UFRII_PrinterDriver_V${MY_PV}_uk_EN" |
59 | |
60 | DESCRIPTION="Common files for Canon drivers" |
61 | HOMEPAGE="http://support-au.canon.com.au/contents/AU/EN/0100270808.html" |
62 | SRC_URI="http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwMjcwODA5&cmp=ABS&lang=EN -> ${SOURCES_NAME}.tar.gz" |
63 | |
64 | LICENSE="Canon-UFR-II GPL-2 MIT" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64" |
67 | IUSE="" |
68 | |
69 | # Needed because GPL2 stuff miss their sources in tarball |
70 | RESTRICT="mirror" |
71 | |
72 | RDEPEND=" |
73 | dev-libs/libxml2 |
74 | gnome-base/libglade |
75 | net-print/cups |
76 | x11-libs/gtk+:2 |
77 | " |
78 | DEPEND="${DEPEND}" |
79 | |
80 | S="${WORKDIR}/${SOURCES_NAME}/Sources/${P/-lb/}" |
81 | |
82 | src_unpack() { |
83 | unpack ${A} |
84 | cd "${WORKDIR}/${SOURCES_NAME}/Sources/" |
85 | unpack ./${P/-lb/}-1.tar.gz |
86 | } |
87 | |
88 | change_dir() { |
89 | for i in cngplp buftool backend; do |
90 | cd "${i}" |
91 | "${@}" |
92 | cd "${S}" |
93 | done |
94 | } |
95 | |
96 | src_prepare() { |
97 | sed -i -e \ |
98 | "s:backenddir = \$(libdir)/cups/backend:backenddir = `cups-config --serverbin`/backend:" \ |
99 | backend/Makefile.am || die |
100 | |
101 | export "LIBS=-lgmodule-2.0" |
102 | change_dir eautoreconf |
103 | } |
104 | |
105 | src_configure() { |
106 | change_dir econf |
107 | } |
108 | |
109 | src_compile() { |
110 | change_dir emake |
111 | } |
112 | |
113 | src_install() { |
114 | MAKEOPTS+=" -j1" default |
115 | } |