Gentoo Archives: gentoo-commits

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