summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libirman')
-rw-r--r--media-libs/libirman/ChangeLog8
-rw-r--r--media-libs/libirman/Manifest8
-rw-r--r--media-libs/libirman/files/digest-libirman-0.4.2-r11
-rw-r--r--media-libs/libirman/files/libirman-0.4.2-PICShared.patch73
-rw-r--r--media-libs/libirman/libirman-0.4.2-r1.ebuild36
-rw-r--r--media-libs/libirman/libirman-0.4.2.ebuild7
-rw-r--r--media-libs/libirman/metadata.xml5
7 files changed, 129 insertions, 9 deletions
diff --git a/media-libs/libirman/ChangeLog b/media-libs/libirman/ChangeLog
index e25704ffe143..e7273cb02265 100644
--- a/media-libs/libirman/ChangeLog
+++ b/media-libs/libirman/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libirman
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/ChangeLog,v 1.7 2004/07/01 07:58:26 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/ChangeLog,v 1.8 2004/07/05 06:44:08 eradicator Exp $
+
+*libirman-0.4.2-r1 (04 Jul 2004)
+
+ 04 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> +metadata.xml,
+ +files/libirman-0.4.2-PICShared.patch, +libirman-0.4.2-r1.ebuild:
+ Added shared lib. -fPIC. ~amd64.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
libirman-0.4.2.ebuild:
diff --git a/media-libs/libirman/Manifest b/media-libs/libirman/Manifest
index 083cfbf7eacc..a50112fa77f2 100644
--- a/media-libs/libirman/Manifest
+++ b/media-libs/libirman/Manifest
@@ -1,3 +1,7 @@
-MD5 dab021d1dd7f27ee4f403e9ba2b07a20 ChangeLog 974
-MD5 12f9aca4093b76f529dd4d03132abcdc libirman-0.4.2.ebuild 780
+MD5 e1130571bb48518bda6de7441a063dff metadata.xml 159
+MD5 6a2dd92e65f5637829d1bb271157345d libirman-0.4.2.ebuild 718
+MD5 9029a59bb112748a0cc9a3146ff5372b ChangeLog 1186
+MD5 a3a42dc721c855128d2fe967bb64adbb libirman-0.4.2-r1.ebuild 836
MD5 3cd23162cf3639176a9e24d4b1fd6b80 files/digest-libirman-0.4.2 65
+MD5 831a488284f41ff536f9f16429321fd0 files/libirman-0.4.2-PICShared.patch 2217
+MD5 3cd23162cf3639176a9e24d4b1fd6b80 files/digest-libirman-0.4.2-r1 65
diff --git a/media-libs/libirman/files/digest-libirman-0.4.2-r1 b/media-libs/libirman/files/digest-libirman-0.4.2-r1
new file mode 100644
index 000000000000..8ab6c6141c1c
--- /dev/null
+++ b/media-libs/libirman/files/digest-libirman-0.4.2-r1
@@ -0,0 +1 @@
+MD5 b99017d049685cb84a95098190a89de8 libirman-0.4.2.tar.gz 52665
diff --git a/media-libs/libirman/files/libirman-0.4.2-PICShared.patch b/media-libs/libirman/files/libirman-0.4.2-PICShared.patch
new file mode 100644
index 000000000000..1b8025581a6c
--- /dev/null
+++ b/media-libs/libirman/files/libirman-0.4.2-PICShared.patch
@@ -0,0 +1,73 @@
+diff -Naur libirman-0.4.2.orig/Makefile.in libirman-0.4.2/Makefile.in
+--- libirman-0.4.2.orig/Makefile.in 1999-03-28 15:42:41.000000000 -0800
++++ libirman-0.4.2/Makefile.in 2004-07-04 23:39:43.101677411 -0700
+@@ -16,7 +16,7 @@
+ CC = @CC@
+ TAR = tar
+
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC -DPIC
+ CPPFLAGS = -I. @CPPFLAGS@ @DEFS@
+ LDFLAGS = @LDFLAGS@ -L. -lirman
+ LDFLAGS_SW = @LDFLAGS@ -L. -lirman_sw
+@@ -58,9 +58,9 @@
+ both: standard swtest
+
+
+-libirman: libirman.a
++libirman: libirman.a libirman.so
+
+-libirman_sw: libirman_sw.a
++libirman_sw: libirman_sw.a libirman_sw.so
+
+
+ test_io: libirman.a $(IO_OBJS)
+@@ -85,10 +85,16 @@
+ $(AR) $(ARFLAGS) libirman.a $(IROBJS)
+ $(RANLIB) libirman.a
+
++libirman.so: $(IROBJS)
++ $(CC) -shared -Wl,-shared,-soname,libirman.so -o libirman.so $(IROBJS)
++
+ libirman_sw.a: $(IROBJS_SW)
+ $(AR) $(ARFLAGS) libirman_sw.a $(IROBJS_SW)
+ $(RANLIB) libirman_sw.a
+
++libirman_sw.so: $(IROBJS_SW)
++ $(CC) -shared -Wl,-shared,-soname,libirman_sw.so -o libirman_sw.so $(IROBJS_SW)
++
+ %.o: %.c irman.h config.h
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+
+@@ -96,7 +102,7 @@
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+
+ ircmd.o: ircmd.c irman.h config.h
+- $(CC) $(CPPFLAGS) -DIR_SYSCONF_DIR=\"$(sysconfdir)\" -c $(srcdir)/ircmd.c -o ircmd.o
++ $(CC) $(CFLAGS) $(CPPFLAGS) -DIR_SYSCONF_DIR=\"$(sysconfdir)\" -c $(srcdir)/ircmd.c -o ircmd.o
+ irfunc_sw.o: irfunc.c irman.h
+ $(CC) $(CPPFLAGS) -DIR_SOFTWARE_TEST $(CFLAGS) -c $(srcdir)/irfunc.c -o irfunc_sw.o
+
+@@ -114,18 +120,22 @@
+ install-normal:
+ $(INSTALL) -m 755 workmanir $(bindir)/workmanir
+ $(INSTALL) -m 755 libirman.a $(libdir)/libirman.a
++ $(INSTALL) -m 755 libirman.so $(libdir)/libirman.so
+ $(INSTALL) -m 644 irman.conf $(sysconfdir)/irman.conf
+ $(INSTALL) -m 644 irman.h $(includedir)/irman.h
+
+ install-swtest:
+ $(INSTALL) -m 755 workmanir $(bindir)/workmanir
+ $(INSTALL) -m 755 libirman_sw.a $(libdir)/libirman_sw.a
++ $(INSTALL) -m 755 libirman_sw.so $(libdir)/libirman_sw.so
+
+ uninstall:
+ $(RM) $(bindir)/workmanir
+ $(RM) $(bindir)/workmanir_sw
+ $(RM) $(libdir)/libirman.a
++ $(RM) $(libdir)/libirman.so
+ $(RM) $(libdir)/libirman_sw.a
++ $(RM) $(libdir)/libirman_sw.so
+ $(RM) $(sysconfdir)/irman.conf
+
+ dist:
diff --git a/media-libs/libirman/libirman-0.4.2-r1.ebuild b/media-libs/libirman/libirman-0.4.2-r1.ebuild
new file mode 100644
index 000000000000..cd04fd192300
--- /dev/null
+++ b/media-libs/libirman/libirman-0.4.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/libirman-0.4.2-r1.ebuild,v 1.1 2004/07/05 06:44:08 eradicator Exp $
+
+IUSE=""
+inherit eutils
+
+DESCRIPTION="library for Irman control of Unix software"
+SRC_URI="http://www.lirc.org/software/snapshots/${P}.tar.gz"
+HOMEPAGE="http://www.evation.com/libirman/libirman.html"
+
+SLOT="0"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~x86 ~sparc alpha ~ia64 ~amd64"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-PICShared.patch
+}
+
+src_install() {
+ dodir /usr/include
+
+ make \
+ prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ LIRC_DRIVER_DEVICE=${D}/dev/lirc \
+ install || die
+
+ dobin test_func test_io test_name
+ dodoc COPYING* NEWS README* TECHNICAL TODO
+}
diff --git a/media-libs/libirman/libirman-0.4.2.ebuild b/media-libs/libirman/libirman-0.4.2.ebuild
index 54f22b83eb5c..f5aee479b638 100644
--- a/media-libs/libirman/libirman-0.4.2.ebuild
+++ b/media-libs/libirman/libirman-0.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/libirman-0.4.2.ebuild,v 1.11 2004/07/01 07:58:26 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/libirman-0.4.2.ebuild,v 1.12 2004/07/05 06:44:08 eradicator Exp $
DESCRIPTION="library for Irman control of Unix software"
SRC_URI="http://www.lirc.org/software/snapshots/${P}.tar.gz"
@@ -12,11 +12,6 @@ KEYWORDS="x86 sparc alpha ia64"
DEPEND="virtual/libc"
-src_compile() {
- econf || die
- emake || die "emake failed"
-}
-
src_install() {
dodir /usr/include
diff --git a/media-libs/libirman/metadata.xml b/media-libs/libirman/metadata.xml
new file mode 100644
index 000000000000..8af03839ffc3
--- /dev/null
+++ b/media-libs/libirman/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>