From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/usbutils: ChangeLog usbutils-0.86-r1.ebuild |
Date: | Thu, 01 Oct 2009 17:22:24 |
Message-Id: | E1MtPME-0004x2-VQ@stork.gentoo.org |
1 | vapier 09/10/01 17:22:22 |
2 | |
3 | Modified: ChangeLog |
4 | Added: usbutils-0.86-r1.ebuild |
5 | Log: |
6 | Fix install location of .pc file #287206 by Tiziano Müller. |
7 | (Portage version: 2.2_rc42/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.80 sys-apps/usbutils/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/ChangeLog?rev=1.80&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/ChangeLog?rev=1.80&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/ChangeLog?r1=1.79&r2=1.80 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v |
19 | retrieving revision 1.79 |
20 | retrieving revision 1.80 |
21 | diff -u -r1.79 -r1.80 |
22 | --- ChangeLog 1 Oct 2009 03:37:34 -0000 1.79 |
23 | +++ ChangeLog 1 Oct 2009 17:22:22 -0000 1.80 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for sys-apps/usbutils |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.79 2009/10/01 03:37:34 vapier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.80 2009/10/01 17:22:22 vapier Exp $ |
29 | + |
30 | +*usbutils-0.86-r1 (01 Oct 2009) |
31 | + |
32 | + 01 Oct 2009; Mike Frysinger <vapier@g.o> +usbutils-0.86-r1.ebuild: |
33 | + Fix install location of .pc file #287206 by Tiziano Müller. |
34 | |
35 | *usbutils-0.86 (01 Oct 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 sys-apps/usbutils/usbutils-0.86-r1.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/usbutils-0.86-r1.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/usbutils-0.86-r1.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: usbutils-0.86-r1.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 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.86-r1.ebuild,v 1.1 2009/10/01 17:22:22 vapier Exp $ |
50 | |
51 | EAPI="2" |
52 | |
53 | inherit eutils |
54 | |
55 | DESCRIPTION="USB enumeration utilities" |
56 | HOMEPAGE="http://linux-usb.sourceforge.net/" |
57 | SRC_URI="mirror://sourceforge/linux-usb/${P}.tar.gz" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
62 | IUSE="network-cron zlib" |
63 | |
64 | DEPEND="virtual/libusb:0 |
65 | zlib? ( sys-libs/zlib )" |
66 | RDEPEND="${DEPEND}" |
67 | |
68 | src_prepare() { |
69 | epatch "${FILESDIR}"/${PN}-0.82-fbsd.patch #275052 |
70 | sed -i '/^pkgconfigdir/s:datadir:datarootdir:' Makefile.in #287206 |
71 | } |
72 | |
73 | src_configure() { |
74 | econf \ |
75 | --datarootdir=/usr/share \ |
76 | --datadir=/usr/share/misc \ |
77 | $(use_enable zlib) |
78 | } |
79 | |
80 | src_install() { |
81 | emake DESTDIR="${D}" install || die "install failed" |
82 | newbin "${FILESDIR}"/usbmodules.sh usbmodules || die |
83 | newsbin update-usbids.sh update-usbids || die "update-usbids failed" |
84 | dodoc AUTHORS ChangeLog NEWS README |
85 | |
86 | use network-cron || return 0 |
87 | exeinto /etc/cron.monthly |
88 | newexe "${FILESDIR}"/usbutils.cron update-usbids || die |
89 | } |