From: | "Matsuu Takuto (matsuu)" <matsuu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libhid: metadata.xml libhid-0.2.16.ebuild ChangeLog Manifest |
Date: | Wed, 01 Oct 2008 16:36:59 |
Message-Id: | E1Kl4h5-0000qy-PP@stork.gentoo.org |
1 | matsuu 08/10/01 16:36:55 |
2 | |
3 | Added: metadata.xml libhid-0.2.16.ebuild ChangeLog |
4 | Manifest |
5 | Log: |
6 | Initial import. Submitted by Mark Karpeles, bug #234264. |
7 | (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/libhid/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>no-herd</herd> |
21 | <maintainer> |
22 | <email>matsuu@g.o</email> |
23 | </maintainer> |
24 | <longdescription lang="en"> |
25 | libhid provides a generic and flexible way to access and interact with USB |
26 | HID devices, much like libusb does for plain USB devices. It is based on |
27 | libusb, thus it requires no HID support in the kernel and provides means to |
28 | take control over a device even if the kernel governs it. |
29 | </longdescription> |
30 | </pkgmetadata> |
31 | |
32 | |
33 | |
34 | |
35 | 1.1 dev-libs/libhid/libhid-0.2.16.ebuild |
36 | |
37 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/libhid-0.2.16.ebuild?rev=1.1&view=markup |
38 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/libhid-0.2.16.ebuild?rev=1.1&content-type=text/plain |
39 | |
40 | Index: libhid-0.2.16.ebuild |
41 | =================================================================== |
42 | # Copyright 1999-2008 Gentoo Foundation |
43 | # Distributed under the terms of the GNU General Public License v2 |
44 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libhid/libhid-0.2.16.ebuild,v 1.1 2008/10/01 16:36:55 matsuu Exp $ |
45 | |
46 | DESCRIPTION="Provides a generic and flexible way to access and interact with USB HID devices" |
47 | HOMEPAGE="http://libhid.alioth.debian.org/" |
48 | SRC_URI="http://beta.magicaltux.net/${P}.tar.gz" |
49 | |
50 | LICENSE="GPL-2" |
51 | SLOT="0" |
52 | KEYWORDS="~amd64 ~x86" |
53 | IUSE="debug doc python" |
54 | |
55 | RDEPEND="dev-libs/libusb" |
56 | DEPEND="${RDEPEND} |
57 | doc? ( app-doc/doxygen ) |
58 | python? ( |
59 | dev-lang/swig |
60 | >=dev-lang/python-2.1.0 |
61 | )" |
62 | |
63 | src_compile() { |
64 | local myconf |
65 | |
66 | myconf="${myconf} $(use_with doc doxygen)" |
67 | myconf="${myconf} $(use_enable debug)" |
68 | myconf="${myconf} $(use_enable python swig)" |
69 | |
70 | if use python; then |
71 | # libhid includes its own python detection m4 from |
72 | # http://autoconf-archive.cryp.to/ac_python_devel.html |
73 | # As it seems to detect python in the wrong place, we'll force it by |
74 | # passing the right environnement variables, only if we have the python |
75 | # flag |
76 | PYTHON_LDFLAGS="$(python-config --ldflags)" econf ${myconf} || die |
77 | else |
78 | # avoid libhid running swig if it finds it automatically as long as the |
79 | # "python" use flag is not set |
80 | econf ${myconf} || die |
81 | fi |
82 | emake || die "emake failed" |
83 | } |
84 | |
85 | src_install() { |
86 | emake DESTDIR="${D}" install || die "install failed" |
87 | |
88 | dodoc AUTHORS ChangeLog NEWS README README.licence TODO || die |
89 | if use doc; then |
90 | dohtml -r doc/html/* |
91 | fi |
92 | } |
93 | |
94 | |
95 | |
96 | 1.1 dev-libs/libhid/ChangeLog |
97 | |
98 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/ChangeLog?rev=1.1&view=markup |
99 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/ChangeLog?rev=1.1&content-type=text/plain |
100 | |
101 | Index: ChangeLog |
102 | =================================================================== |
103 | # ChangeLog for dev-libs/libhid |
104 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
105 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libhid/ChangeLog,v 1.1 2008/10/01 16:36:55 matsuu Exp $ |
106 | |
107 | *libhid-0.2.16 (01 Oct 2008) |
108 | |
109 | 01 Oct 2008; MATSUU Takuto <matsuu@g.o> +metadata.xml, |
110 | +libhid-0.2.16.ebuild: |
111 | Initial import. Submitted by Mark Karpeles, bug #234264. |
112 | |
113 | |
114 | |
115 | |
116 | 1.1 dev-libs/libhid/Manifest |
117 | |
118 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/Manifest?rev=1.1&view=markup |
119 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libhid/Manifest?rev=1.1&content-type=text/plain |
120 | |
121 | Index: Manifest |
122 | =================================================================== |
123 | DIST libhid-0.2.16.tar.gz 435245 RMD160 f61f016ae54bc5532202fd676d38d1f684e7ab8d SHA1 9a25fef674e8f20f97fea6700eb91c21ebbbcc02 SHA256 f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5 |
124 | EBUILD libhid-0.2.16.ebuild 1383 RMD160 eb07fb2f719a16fca0d4f8695b56dce899dcea44 SHA1 43ad47e210cdca391cc1856800c0e7896517cd15 SHA256 88609f599844d721e640ec6a661a1277219fa4c0532cf47199ee53816e0f66c7 |
125 | MISC ChangeLog 295 RMD160 c9f96e18512fd5a6c98444e8d196595c87a84442 SHA1 0f215cf2aa46747171a850bfbff3fa9d5e2d9469 SHA256 63c797ec0b84dc287adf2587668bd96cc384496c298f0fb5179727c0e3fb2ec8 |
126 | MISC metadata.xml 550 RMD160 93eacd05e85031e424468b57585ce7bd20bcfb87 SHA1 57562a7ba3822914c992304f814fc5b0fe6142b0 SHA256 24d8e5690795c1a6842852b9ac2f9b33323805e26ac83a16c1571d016ace4fae |