summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2008-03-26 17:04:18 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2008-03-26 17:04:18 +0000
commita8d50e49f0c02535df1ad48f699ebe15f9199337 (patch)
treed6f3e6aa26d7b91d84d7e106bc3cb0033b083989 /app-misc/iguanaIR
parentia64 stable (diff)
downloadhistorical-a8d50e49f0c02535df1ad48f699ebe15f9199337.tar.gz
historical-a8d50e49f0c02535df1ad48f699ebe15f9199337.tar.bz2
historical-a8d50e49f0c02535df1ad48f699ebe15f9199337.zip
initial ebuild; masked for testing
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/iguanaIR')
-rw-r--r--app-misc/iguanaIR/ChangeLog11
-rw-r--r--app-misc/iguanaIR/files/40-iguanaIR.rules5
-rw-r--r--app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff34
-rw-r--r--app-misc/iguanaIR/iguanaIR-0.93.ebuild36
-rw-r--r--app-misc/iguanaIR/metadata.xml10
5 files changed, 96 insertions, 0 deletions
diff --git a/app-misc/iguanaIR/ChangeLog b/app-misc/iguanaIR/ChangeLog
new file mode 100644
index 000000000000..cfffd2a3bbfd
--- /dev/null
+++ b/app-misc/iguanaIR/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-misc/iguanaIR
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/iguanaIR/ChangeLog,v 1.1 2008/03/26 17:04:17 hd_brummy Exp $
+
+*iguanaIR-0.93 (26 Mar 2008)
+
+ 26 Mar 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/40-iguanaIR.rules, +files/iguanaIR-0.93-gentoo.diff, +metadata.xml,
+ +iguanaIR-0.93.ebuild:
+ initial ebuild; masked for testing
+
diff --git a/app-misc/iguanaIR/files/40-iguanaIR.rules b/app-misc/iguanaIR/files/40-iguanaIR.rules
new file mode 100644
index 000000000000..6cccbc9757e7
--- /dev/null
+++ b/app-misc/iguanaIR/files/40-iguanaIR.rules
@@ -0,0 +1,5 @@
+
+ACTION=="add", ATTRS{manufacturer}=="IguanaWorks", MODE="0660", RUN+="/etc/init.d/iguanaIR rescan"
+
+# DEBUGGING ADDITION:
+#RUN += "/bin/bash -c 'echo $major $minor r=$result i=$id n=$number k=$kernel p=$parent r=$root >> /tmp/udev.txt'"
diff --git a/app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff b/app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff
new file mode 100644
index 000000000000..96793837ae30
--- /dev/null
+++ b/app-misc/iguanaIR/files/iguanaIR-0.93-gentoo.diff
@@ -0,0 +1,34 @@
+diff -Naur iguanaIR-0.93.orig/iguanaIR.gentoo.init iguanaIR-0.93/iguanaIR.gentoo.init
+--- iguanaIR-0.93.orig/iguanaIR.gentoo.init 2008-03-20 15:34:46.000000000 +0100
++++ iguanaIR-0.93/iguanaIR.gentoo.init 2008-03-20 15:38:06.000000000 +0100
+@@ -1,7 +1,7 @@
+ #!/sbin/runscript
+
+ # load the settings
+-[ -f /etc/default/iguanaIR ] && . /etc/default/iguanaIR
++[ -f /etc/iguanaIR/iguanaIR ] && . /etc/iguanaIR/iguanaIR
+
+ # common defaults
+ IGPATH=/usr/bin/igdaemon
+diff -Naur iguanaIR-0.93.orig/Makefile.in iguanaIR-0.93/Makefile.in
+--- iguanaIR-0.93.orig/Makefile.in 2008-03-20 15:34:46.000000000 +0100
++++ iguanaIR-0.93/Makefile.in 2008-03-20 15:36:49.000000000 +0100
+@@ -79,12 +79,12 @@
+ install -D igclient $(DESTDIR)/usr/bin/igclient
+ install -D igdaemon $(DESTDIR)/usr/bin/igdaemon
+ install -D libiguanaIR.so $(DESTDIR)/usr/$(LIBDIR)/libiguanaIR.so
+- install -D iguanaIR.init $(DESTDIR)/etc/rc.d/init.d/iguanaIR
+- install -D --mode=0644 iguanaIR.options $(DESTDIR)/etc/default/iguanaIR
+- install -D iguanaIR.h $(DESTDIR)/usr/include/iguanaIR.h
+- install -D --mode 644 plug-trigger/udev/iguanaIR.rules \
+- $(DESTDIR)/etc/udev/rules.d/iguanaIR.rules
+- install --mode 755 -d $(DESTDIR)/etc/udev/devices/iguanaIR
++ install -D iguanaIR.gentoo.init $(DESTDIR)/etc/init.d/iguanaIR
++ install -D --mode=0644 iguanaIR.options $(DESTDIR)/etc/iguanaIR/iguanaIR
++ install -D --mode=0644 iguanaIR.h $(DESTDIR)/usr/include/iguanaIR.h
++# install -D --mode=644 plug-trigger/udev/iguanaIR.rules \
++# $(DESTDIR)/etc/udev/rules.d/iguanaIR.rules
++# install --mode 755 -d $(DESTDIR)/etc/udev/devices/iguanaIR
+ # This is for fairly old versions of Fedora....
+ # install -D --mode 644 plug-trigger/hotplug/iguanaIR.usermap \
+ # $(DESTDIR)/etc/hotplug/usb/iguanaIR.usermap
diff --git a/app-misc/iguanaIR/iguanaIR-0.93.ebuild b/app-misc/iguanaIR/iguanaIR-0.93.ebuild
new file mode 100644
index 000000000000..89036766a3da
--- /dev/null
+++ b/app-misc/iguanaIR/iguanaIR-0.93.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/iguanaIR/iguanaIR-0.93.ebuild,v 1.1 2008/03/26 17:04:17 hd_brummy Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="library for Irman control of Unix software"
+SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2"
+HOMEPAGE="http://iguanaworks.net/index.php"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+pkg_setup() {
+ append-flags -fPIC
+}
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+
+ sed -e "s:CFLAGS =:CFLAGS ?=:" -i Makefile.in
+
+ epatch "${FILESDIR}/${P}-gentoo.diff"
+}
+
+src_install() {
+
+ emake install DESTDIR="${D}" || die "emake failed"
+
+ insinto /etc/udev/rules.d/
+ doins "${FILESDIR}"/40-iguanaIR.rules
+}
diff --git a/app-misc/iguanaIR/metadata.xml b/app-misc/iguanaIR/metadata.xml
new file mode 100644
index 000000000000..32917ab8cd32
--- /dev/null
+++ b/app-misc/iguanaIR/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>hd_brummy@gentoo.org</email>
+<name>Joerg Bornkessel</name>
+</maintainer>
+</pkgmetadata>
+