Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/usbutils: ChangeLog usbutils-0.73.ebuild
Date: Mon, 29 Oct 2007 22:49:02
Message-Id: E1ImdNw-0000j3-Uz@stork.gentoo.org
1 robbat2 07/10/29 22:47:04
2
3 Modified: ChangeLog
4 Added: usbutils-0.73.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.61 sys-apps/usbutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/ChangeLog?rev=1.61&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/ChangeLog?rev=1.61&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/ChangeLog?r1=1.60&r2=1.61
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v
19 retrieving revision 1.60
20 retrieving revision 1.61
21 diff -u -r1.60 -r1.61
22 --- ChangeLog 22 Oct 2007 15:29:54 -0000 1.60
23 +++ ChangeLog 29 Oct 2007 22:47:04 -0000 1.61
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/usbutils
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.60 2007/10/22 15:29:54 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.61 2007/10/29 22:47:04 robbat2 Exp $
29 +
30 +*usbutils-0.73 (29 Oct 2007)
31 +
32 + 29 Oct 2007; Robin H. Johnson <robbat2@g.o> +usbutils-0.73.ebuild:
33 + Version bump.
34
35 22 Oct 2007; Raúl Porcel <armin76@g.o> usbutils-0.72-r4.ebuild:
36 alpha/ia64 stable wrt #195242
37
38
39
40 1.1 sys-apps/usbutils/usbutils-0.73.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/usbutils-0.73.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/usbutils-0.73.ebuild?rev=1.1&content-type=text/plain
44
45 Index: usbutils-0.73.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.73.ebuild,v 1.1 2007/10/29 22:47:04 robbat2 Exp $
50
51 inherit eutils
52
53 DESCRIPTION="USB enumeration utilities"
54 HOMEPAGE="http://linux-usb.sourceforge.net/"
55 SRC_URI="mirror://sourceforge/linux-usb/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="network-cron zlib"
61
62 DEPEND="dev-libs/libusb"
63 # zlib? ( sys-libs/zlib )"
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68 cp update-usbids.sh update-usbids.sh.orig
69 epatch "${FILESDIR}"/${PN}-0.72-update-usbids.patch
70
71 # put usb.ids in same place as pci.ids (/usr/share/misc)
72 sed -i \
73 -e 's:/usr/share/usb.ids:/usr/share/misc/usb.ids:' \
74 lsusb.8 || die "sed lsusb.8"
75 sed -e '/^DEST=/s:=usb.ids:=/usr/share/misc/usb.ids:' \
76 update-usbids.sh > update-usbids
77 }
78
79 src_compile() {
80 # robbat2 - 2007/10/29
81 # zlib disabled pending a revision of update-usbids from upstream.
82 # $(use_enable zlib) \
83 econf \
84 --datadir=/usr/share/misc \
85 --enable-usbmodules \
86 --disable-zlib \
87 || die "./configure failed"
88 emake || die "make failed"
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "install failed"
93 dosbin update-usbids || die "update-usbids failed"
94 dodoc AUTHORS ChangeLog NEWS README
95
96 use network-cron || return 0
97 exeinto /etc/cron.monthly
98 newexe "${FILESDIR}"/usbutils.cron update-usbids || die
99 }
100
101
102
103 --
104 gentoo-commits@g.o mailing list