1 |
commit: 0482625db14b5b46ab3eeb863db1fbf152f681af |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 17:34:43 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 17:34:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0482625d |
7 |
|
8 |
net-wireless/irda-utils: remove old version |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
.../irda-utils/irda-utils-0.9.18-r5.ebuild | 105 --------------------- |
13 |
1 file changed, 105 deletions(-) |
14 |
|
15 |
diff --git a/net-wireless/irda-utils/irda-utils-0.9.18-r5.ebuild b/net-wireless/irda-utils/irda-utils-0.9.18-r5.ebuild |
16 |
deleted file mode 100644 |
17 |
index d04d69f..0000000 |
18 |
--- a/net-wireless/irda-utils/irda-utils-0.9.18-r5.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,105 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils flag-o-matic toolchain-funcs udev |
28 |
- |
29 |
-DESCRIPTION="IrDA management and handling utilities" |
30 |
-HOMEPAGE="http://irda.sourceforge.net" |
31 |
-SRC_URI="mirror://sourceforge/irda/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64 ~arm ~ppc ~sh ~x86" |
36 |
-IUSE="" |
37 |
- |
38 |
-RDEPEND=" |
39 |
- dev-libs/glib:2 |
40 |
- >=sys-apps/pciutils-2.2.7-r1 |
41 |
- sys-process/procps |
42 |
- sys-apps/setserial |
43 |
- sys-apps/grep |
44 |
- virtual/udev |
45 |
-" |
46 |
-DEPEND="${RDEPEND} |
47 |
- virtual/pkgconfig |
48 |
- !app-laptop/smcinit |
49 |
-" |
50 |
- |
51 |
-PATCHES=( |
52 |
- "${FILESDIR}/${PN}-rh1.patch" |
53 |
- "${FILESDIR}/${P}-makefile.diff" |
54 |
- "${FILESDIR}/${P}-smcinit.diff" |
55 |
- "${FILESDIR}/${P}-io.h.diff" |
56 |
- "${FILESDIR}/${P}-dofail.patch" |
57 |
- "${FILESDIR}/${P}-asneeded.patch" |
58 |
- "${FILESDIR}/${P}-ldflags.patch" |
59 |
- "${FILESDIR}/${P}-headers.patch" |
60 |
-) |
61 |
- |
62 |
-src_prepare() { |
63 |
- # TODO: switch to 'default' once udev.eclass is EAPI=6 clean |
64 |
- epatch -p1 "${PATCHES[@]}" |
65 |
- |
66 |
- append-flags "-fno-strict-aliasing" # bug???? |
67 |
- |
68 |
- # fix Bug 570488 by restoring pre-GCC5 inline semantics |
69 |
- append-cflags -std=gnu89 |
70 |
- |
71 |
- # fix crosscompile, respect CFLAGS (Bug 200295) |
72 |
- sed -i -e "/^CC/s:gcc:$(tc-getCC):" \ |
73 |
- -e "/^LD/s:ld:$(tc-getLD):" \ |
74 |
- -e "/^AR/s:ar:$(tc-getAR):" \ |
75 |
- -e "/^RANLIB/s:ranlib:$(tc-getRANLIB):" \ |
76 |
- -e "/^CFLAGS/s:-O2:${CFLAGS}:" Makefile */Makefile || die |
77 |
- |
78 |
- # fix compile when pciutils is compiled with USE=zlib (Bug 200295) |
79 |
- sed -i -e "s:-lpci:$(pkg-config --libs libpci):g" smcinit/Makefile || die |
80 |
- |
81 |
- # disable etc subdir in Makefile |
82 |
- sed -i -e "s:^\(DIRS.*=.* \)etc \(.*\):\1\2:g" Makefile || die |
83 |
- |
84 |
- # disable write_pid(), because we don't need it |
85 |
- sed -i -e "s:\(write_pid();\):/* \1 */:g" irattach/util.c || die |
86 |
-} |
87 |
- |
88 |
-src_compile() { |
89 |
- emake RPM_OPT_FLAGS="${CFLAGS}" RPM_BUILD_ROOT="${D}" ROOT="${D}" |
90 |
-} |
91 |
- |
92 |
-src_install () { |
93 |
- dodir /usr/bin |
94 |
- dodir /usr/sbin |
95 |
- |
96 |
- emake install RPM_OPT_FLAGS="${CFLAGS}" ROOT="${D}" \ |
97 |
- MANDIR="${D}usr/share/man" |
98 |
- |
99 |
- newdoc ethereal/README README.wireshark |
100 |
- newdoc irattach/README README.irattach |
101 |
- newdoc irdadump/README README.irdadump |
102 |
- newdoc irdaping/README README.irdaping |
103 |
- newdoc irsockets/README README.irsockets |
104 |
- newdoc tekram/README README.tekram |
105 |
- newdoc smcinit/README README.smcinit |
106 |
- newdoc smcinit/README.Peri README.smcinit.Peri |
107 |
- newdoc smcinit/README.Rob README.smcinit.Rob |
108 |
- newdoc smcinit/README.Tom README.smcinit.Tom |
109 |
- newdoc irattach/ChangeLog ChangeLog.irattach |
110 |
- newdoc irdadump/ChangeLog ChangeLog.irdadump |
111 |
- newdoc smcinit/ChangeLog ChangeLog.smcinit |
112 |
- dohtml smcinit/RobMiller-irda.html |
113 |
- dodoc README |
114 |
- |
115 |
- newconfd "${FILESDIR}/irda.confd" irda |
116 |
- newinitd "${FILESDIR}/irda.initd" irda |
117 |
- |
118 |
- insinto /etc/modprobe.d |
119 |
- newins "${FILESDIR}/irda.modsd" irda.conf |
120 |
- |
121 |
- udev_newrules "${FILESDIR}/irda.rules" 53-irda.rules |
122 |
- exeinto "$(get_udevdir)" |
123 |
- newexe "${FILESDIR}/irda-setup.sh" irda-setup |
124 |
- newexe "${FILESDIR}/irda-usb.sh" irda-usb |
125 |
-} |