Gentoo Archives: gentoo-commits

From: "Joseph Jezak (josejx)" <josejx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-embedded/pk2cmd: pk2cmd-1.12.0-r1.ebuild ChangeLog pk2cmd-1.20.ebuild
Date: Mon, 02 Feb 2009 20:45:11
Message-Id: E1LU5fJ-0005qw-Ve@stork.gentoo.org
1 josejx 09/02/02 20:45:09
2
3 Modified: pk2cmd-1.12.0-r1.ebuild ChangeLog
4 Added: pk2cmd-1.20.ebuild
5 Log:
6 Revision bump, bug #257138. Marked 1.12.0-r1 stable on ppc/ppc64.
7 (Portage version: 2.1.6.4/cvs/Linux 2.6.23 x86_64)
8
9 Revision Changes Path
10 1.2 dev-embedded/pk2cmd/pk2cmd-1.12.0-r1.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.12.0-r1.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.12.0-r1.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.12.0-r1.ebuild?r1=1.1&r2=1.2
15
16 Index: pk2cmd-1.12.0-r1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.12.0-r1.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- pk2cmd-1.12.0-r1.ebuild 21 Sep 2008 03:30:10 -0000 1.1
23 +++ pk2cmd-1.12.0-r1.ebuild 2 Feb 2009 20:45:09 -0000 1.2
24 @@ -1,6 +1,6 @@
25 -# Copyright 1999-2008 Gentoo Foundation
26 +# Copyright 1999-2009 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.12.0-r1.ebuild,v 1.1 2008/09/21 03:30:10 josejx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.12.0-r1.ebuild,v 1.2 2009/02/02 20:45:09 josejx Exp $
30
31 inherit eutils toolchain-funcs
32
33 @@ -10,7 +10,7 @@
34
35 LICENSE="MicroChip-PK2"
36 SLOT="0"
37 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
38 +KEYWORDS="~amd64 ppc ppc64 ~x86"
39 IUSE=""
40
41 DEPEND="dev-libs/libusb"
42
43
44
45 1.3 dev-embedded/pk2cmd/ChangeLog
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/ChangeLog?rev=1.3&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/ChangeLog?rev=1.3&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/ChangeLog?r1=1.2&r2=1.3
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/ChangeLog,v
54 retrieving revision 1.2
55 retrieving revision 1.3
56 diff -u -r1.2 -r1.3
57 --- ChangeLog 21 Sep 2008 03:30:10 -0000 1.2
58 +++ ChangeLog 2 Feb 2009 20:45:09 -0000 1.3
59 @@ -1,6 +1,13 @@
60 # ChangeLog for dev-embedded/pk2cmd
61 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/ChangeLog,v 1.2 2008/09/21 03:30:10 josejx Exp $
63 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
64 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/ChangeLog,v 1.3 2009/02/02 20:45:09 josejx Exp $
65 +
66 +*pk2cmd-1.20 (02 Feb 2009)
67 +
68 + 02 Feb 2009; Joseph Jezak <josejx@g.o>
69 + +files/pk2cmd-add-share-dir-for-dev-file-1.20.patch,
70 + pk2cmd-1.12.0-r1.ebuild, +pk2cmd-1.20.ebuild:
71 + Revision bump, bug #257138. Marked 1.12.0-r1 stable on ppc/ppc64.
72
73 *pk2cmd-1.12.0-r1 (21 Sep 2008)
74
75
76
77
78 1.1 dev-embedded/pk2cmd/pk2cmd-1.20.ebuild
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild?rev=1.1&content-type=text/plain
82
83 Index: pk2cmd-1.20.ebuild
84 ===================================================================
85 # Copyright 1999-2009 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.20.ebuild,v 1.1 2009/02/02 20:45:09 josejx Exp $
88
89 inherit eutils toolchain-funcs
90
91 DESCRIPTION="An application for working with the Microchip PicKit2 PIC programmer"
92 HOMEPAGE="http://www.microchip.com/pickit2"
93 SRC_URI="http://ww1.microchip.com/downloads/en/DeviceDoc/${PN}v${PV}LinuxMacSource.tar.gz"
94
95 LICENSE="MicroChip-PK2"
96 SLOT="0"
97 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
98 IUSE=""
99
100 DEPEND="dev-libs/libusb"
101 RDEPEND="${DEPEND}"
102
103 S="${WORKDIR}/${PN}v${PV}LinuxMacSource"
104
105 src_unpack() {
106 unpack ${A}
107 cd "${S}"
108
109 # Patch adds /usr/share/pk2 to the default search for the device file
110 epatch "${FILESDIR}/${PN}-add-share-dir-for-dev-file-${PV}.patch"
111
112 # Fix up the Makefile
113 sed -i 's:#TARGET=linux:TARGET=linux:' Makefile
114 sed -i 's:DBG=-O2:DBG=:' Makefile
115 sed -i 's:^CFLAGS=:CFLAGS+=:' Makefile
116 sed -i 's:^LIBUSB=/usr/local:LIBUSB=/usr:' Makefile
117 sed -i "s:^CC=g++::" Makefile
118 }
119
120 src_compile() {
121 emake CC="$(tc-getCXX)" || die "emake failed"
122 }
123
124 src_install() {
125 # Copy the device files and PicKit2 OS
126 insinto "/usr/share/pk2"
127 doins PK2DeviceFile.dat
128 doins PK2V023200.hex
129 # Install the program
130 exeinto /usr/bin
131 doexe pk2cmd
132 # Install the documentation
133 dodoc ReadmeForPK2CMDLinux2-6.txt usbhotplug.txt
134 }