Gentoo Archives: gentoo-commits

From: "Wolfram Schlich (wschlich)" <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/digitemp: ChangeLog metadata.xml digitemp-3.5.0.ebuild
Date: Fri, 07 Dec 2007 11:03:55
Message-Id: E1J0aze-0002ib-9a@stork.gentoo.org
1 wschlich 07/12/07 11:03:42
2
3 Modified: ChangeLog metadata.xml
4 Added: digitemp-3.5.0.ebuild
5 Log:
6 added myself as maintainer to metadata.xml, version bump
7 (Portage version: 2.1.4_rc7)
8
9 Revision Changes Path
10 1.14 app-misc/digitemp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/digitemp/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 12 Apr 2007 20:42:47 -0000 1.13
23 +++ ChangeLog 7 Dec 2007 11:03:41 -0000 1.14
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-misc/digitemp
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/ChangeLog,v 1.13 2007/04/12 20:42:47 opfer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/ChangeLog,v 1.14 2007/12/07 11:03:41 wschlich Exp $
29 +
30 +*digitemp-3.5.0 (07 Dec 2007)
31 +
32 + 07 Dec 2007; Wolfram Schlich <wschlich@g.o> metadata.xml,
33 + +digitemp-3.5.0.ebuild:
34 + added myself as maintainer to metadata.xml, version bump
35
36 12 Apr 2007; Christian Faulhammer <opfer@g.o>
37 digitemp-3.3.2.ebuild:
38
39
40
41 1.3 app-misc/digitemp/metadata.xml
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/metadata.xml?rev=1.3&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/metadata.xml?rev=1.3&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/metadata.xml?r1=1.2&r2=1.3
46
47 Index: metadata.xml
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/app-misc/digitemp/metadata.xml,v
50 retrieving revision 1.2
51 retrieving revision 1.3
52 diff -u -r1.2 -r1.3
53 --- metadata.xml 25 Nov 2006 21:31:26 -0000 1.2
54 +++ metadata.xml 7 Dec 2007 11:03:41 -0000 1.3
55 @@ -1,9 +1,19 @@
56 <?xml version="1.0" encoding="UTF-8"?>
57 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
58 <pkgmetadata>
59 - <herd>no-herd</herd>
60 - <maintainer>
61 - <email>maintainer-needed@g.o</email>
62 - <description>This package lacks a primary herd or maintainer.</description>
63 - </maintainer>
64 +<herd>no-herd</herd>
65 +<maintainer>
66 + <email>wschlich@g.o</email>
67 + <name>Wolfram Schlich</name>
68 + <description>Primary maintainer</description>
69 +</maintainer>
70 +<longdescription>
71 +DigiTemp is a simple to use program for reading values from 1-wire devices. Its
72 +main use is for reading temperature sensors, but it also reads counters, and
73 +understands the 1-wire hubs with devices on different branches of the network.
74 +DigiTemp now supports the following 1-wire temperature sensors: DS18S20 (and
75 +DS1820), DS18B20, DS1822, the DS2438 Smart Battery Monitor, DS2422 and DS2423
76 +Counters, DS2409 MicroLAN Coupler (used in 1-wire hubs), and the AAG TAI-8540
77 +humidity sensor.
78 +</longdescription>
79 </pkgmetadata>
80
81
82
83 1.1 app-misc/digitemp/digitemp-3.5.0.ebuild
84
85 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/digitemp-3.5.0.ebuild?rev=1.1&view=markup
86 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/digitemp/digitemp-3.5.0.ebuild?rev=1.1&content-type=text/plain
87
88 Index: digitemp-3.5.0.ebuild
89 ===================================================================
90 # Copyright 1999-2007 Gentoo Foundation
91 # Distributed under the terms of the GNU General Public License v2
92 # $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.5.0.ebuild,v 1.1 2007/12/07 11:03:41 wschlich Exp $
93
94 DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol"
95 HOMEPAGE="http://www.digitemp.com/ http://www.ibutton.com/"
96 SRC_URI="http://www.digitemp.com/software/linux/${P}.tar.gz"
97
98 IUSE="ds9097 ds9097u ds2490"
99 SLOT="0"
100 LICENSE="GPL-2"
101 KEYWORDS="~amd64 ~x86"
102
103 DEPEND="ds2490? ( >=dev-libs/libusb-0.1.10a )"
104
105 targets() {
106 # default is to compile to the ds9097u.
107 if ! ( use ds9097 || use ds9097u || use ds2490 ); then
108 echo ds9097u
109 fi
110 for target in ds9097 ds9097u ds2490; do
111 if use ${target}; then
112 echo ${target}
113 fi
114 done
115 }
116
117 src_compile() {
118 # default is to compile to the ds9097u.
119 if ! ( use ds9097 || use ds9097u || use ds2490 ); then
120 ewarn "If you don't choose a component to install, we default to ds9097u"
121 fi
122
123 local targets=$(targets)
124
125 for target in $targets; do
126 emake clean
127 emake LOCK="no" ${target} || die "emake ${target} failed"
128 done
129 }
130
131 src_install() {
132 for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do
133 dobin digitemp_${target} && \
134 dosym digitemp_${target} /usr/bin/digitemp
135 done
136
137 if [[ $($(targets)|wc -l) -ge 1 ]]; then
138 echo
139 ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}"
140 ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*"
141 echo
142 fi
143
144 dodoc README FAQ TODO
145
146 for example in perl python rrdb; do
147 insinto "/usr/share/doc/${PF}/${example}_examples"
148 doins ${example}/*
149 done
150 }
151
152 pkg_postinst() {
153 echo
154 elog "Examples of using digitemp with python, perl, and rrdtool are"
155 elog "located in /usr/share/doc/${PF}/"
156 echo
157 }
158
159
160
161 --
162 gentoo-commits@g.o mailing list