From 12667d4775720c2b0da0dbfa1c58b1bb6983eceb Mon Sep 17 00:00:00 2001
From: Henrik Brix Andersen <brix@gentoo.org>
Date: Tue, 31 May 2005 09:35:01 +0000
Subject: Fixed bug #93173. (Portage version: 2.0.51.22-r1)

---
 net-wireless/irda-utils/ChangeLog                  |  7 +-
 net-wireless/irda-utils/Manifest                   |  4 +-
 .../irda-utils/files/digest-irda-utils-0.9.16-r1   |  1 +
 .../irda-utils/irda-utils-0.9.16-r1.ebuild         | 85 ++++++++++++++++++++++
 4 files changed, 95 insertions(+), 2 deletions(-)
 create mode 100644 net-wireless/irda-utils/files/digest-irda-utils-0.9.16-r1
 create mode 100644 net-wireless/irda-utils/irda-utils-0.9.16-r1.ebuild

(limited to 'net-wireless/irda-utils')

diff --git a/net-wireless/irda-utils/ChangeLog b/net-wireless/irda-utils/ChangeLog
index e32fc1d8af88..944411e47f94 100644
--- a/net-wireless/irda-utils/ChangeLog
+++ b/net-wireless/irda-utils/ChangeLog
@@ -1,6 +1,11 @@
 # ChangeLog for net-wireless/irda-utils
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/ChangeLog,v 1.9 2005/04/07 18:02:16 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/ChangeLog,v 1.10 2005/05/31 09:35:01 brix Exp $
+
+*irda-utils-0.9.16-r1 (31 May 2005)
+
+  31 May 2005; <brix@gentoo.org> +irda-utils-0.9.16-r1.ebuild:
+  Fixed bug #93173.
 
   07 Apr 2005; <brix@gentoo.org> -irda-utils-0.9.13.ebuild,
   -irda-utils-0.9.15.ebuild:
diff --git a/net-wireless/irda-utils/Manifest b/net-wireless/irda-utils/Manifest
index 4ace10463ad6..5381abb9ede8 100644
--- a/net-wireless/irda-utils/Manifest
+++ b/net-wireless/irda-utils/Manifest
@@ -1,8 +1,10 @@
 MD5 4d7bbdca583a886828a8c19270a2531d irda-utils-0.9.17_pre5.ebuild 1973
+MD5 30eb46ab7980facb61e4cf9a9ee8a785 irda-utils-0.9.16-r1.ebuild 1873
 MD5 11844d8f3596b15952bd21297c9d457f irda-utils-0.9.16.ebuild 1952
-MD5 3e372f407879d49261fed052e89522eb ChangeLog 3321
+MD5 572c8bf17bd017ed545e9ecb5d50cfe8 ChangeLog 3442
 MD5 dc1773fc29727c205a632b4a780a5d21 metadata.xml 219
 MD5 ef26e8a578b5a78843863316b3223e67 files/digest-irda-utils-0.9.16 69
+MD5 ef26e8a578b5a78843863316b3223e67 files/digest-irda-utils-0.9.16-r1 69
 MD5 b8b13a78fe0cbed2c3ce00afecd5adc1 files/irda-utils-0.9.16-irkbd.patch 505
 MD5 23a2271075f62051f30dd6ed9bbd3f85 files/irda-utils-gcc3.4-fix.patch 400
 MD5 fa2075c93b60699aaa4017ace46406ef files/irda-utils-rh1.patch 444
diff --git a/net-wireless/irda-utils/files/digest-irda-utils-0.9.16-r1 b/net-wireless/irda-utils/files/digest-irda-utils-0.9.16-r1
new file mode 100644
index 000000000000..64987819b490
--- /dev/null
+++ b/net-wireless/irda-utils/files/digest-irda-utils-0.9.16-r1
@@ -0,0 +1 @@
+MD5 2ff18f0571b5a331be7cd22fc3decd41 irda-utils-0.9.16.tar.gz 306262
diff --git a/net-wireless/irda-utils/irda-utils-0.9.16-r1.ebuild b/net-wireless/irda-utils/irda-utils-0.9.16-r1.ebuild
new file mode 100644
index 000000000000..4ecb9128c63f
--- /dev/null
+++ b/net-wireless/irda-utils/irda-utils-0.9.16-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.16-r1.ebuild,v 1.1 2005/05/31 09:35:01 brix Exp $
+
+inherit eutils
+
+DESCRIPTION="IrDA utilities for infrared communication"
+HOMEPAGE="http://irda.sourceforge.net/"
+SRC_URI="mirror://sourceforge/irda/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="gtk"
+
+DEPEND="virtual/libc
+	=dev-libs/glib-1.2*
+	gtk? ( =x11-libs/gtk+-1.2* )"
+
+src_unpack() {
+	unpack ${A}
+
+	cd ${S}
+	epatch ${FILESDIR}/irda-utils-rh1.patch
+	epatch ${FILESDIR}/irda-utils-gcc3.4-fix.patch
+	epatch ${FILESDIR}/${P}-irkbd.patch
+}
+
+src_compile() {
+	export WANT_AUTOCONF=2.5
+	export WANT_AUTOMAKE=1.4
+	export RPM_OPT_FLAGS=${CFLAGS}
+
+	emake ROOT="${D}" RPM_BUILD_ROOT="${D}" || die "Making failed."
+
+	cd ${S}/irsockets
+	emake || die "Making irsockets failed."
+
+	if use gtk; then
+		cd ${S}/findchip
+		emake gfindchip || die "Making gfindchip failed."
+	fi
+}
+
+src_install () {
+	dodir /usr/bin
+	dodir /usr/sbin
+
+	emake install PREFIX="${D}" ROOT="${D}" || die "Couldn't install from ${S}"
+
+	# irda-utils's install-etc installs files in /etc/sysconfig if
+	# that directory exists on the system, so clean up just in case.
+	# This is for bug 1797 (17 Jan 2004 agriffis)
+	rm -rf ${D}/etc/sysconfig 2>/dev/null
+
+	into /usr
+	dobin irsockets/irdaspray
+	dobin irsockets/ias_query
+	dobin irsockets/irprintf
+	dobin irsockets/irprintfx
+	dobin irsockets/irscanf
+	dobin irsockets/recv_ultra
+	dobin irsockets/send_ultra
+
+	if use gtk; then
+		dosbin findchip/gfindchip
+	fi
+
+	# install README's into /usr/share/doc
+	for i in *
+	do
+		if [ -d $i -a $i != "man" ]; then
+			if [ -f $i/README ]; then
+				cp $i/README README.$i
+				dodoc README.$i
+				rm README.$i
+			fi
+		fi
+	done
+
+	dodoc etc/modules.conf.irda
+
+	insinto /etc/conf.d ; newins ${FILESDIR}/irda.conf irda
+	insinto /etc/init.d ; insopts -m0755 ; newins ${FILESDIR}/irda.rc irda
+}
-- 
cgit v1.2.3-65-gdbad