From eec99c0ff2dbed5fa9d56799f42b47c3efef42d7 Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Mon, 25 Sep 2006 10:04:57 +0000 Subject: Version bump wrt bug #89663 (Portage version: 2.1.2_pre1-r1) --- media-libs/libirman/ChangeLog | 8 ++++- media-libs/libirman/files/digest-libirman-0.4.4 | 3 ++ .../libirman/files/libirman-0.4.4-destdir.patch | 40 +++++++++++++++++++++ media-libs/libirman/libirman-0.4.4.ebuild | 41 ++++++++++++++++++++++ media-libs/libirman/metadata.xml | 6 +++- 5 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 media-libs/libirman/files/digest-libirman-0.4.4 create mode 100644 media-libs/libirman/files/libirman-0.4.4-destdir.patch create mode 100644 media-libs/libirman/libirman-0.4.4.ebuild diff --git a/media-libs/libirman/ChangeLog b/media-libs/libirman/ChangeLog index f54bc04e5ab3..889123af4319 100644 --- a/media-libs/libirman/ChangeLog +++ b/media-libs/libirman/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libirman # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/ChangeLog,v 1.19 2006/07/23 14:49:14 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/ChangeLog,v 1.20 2006/09/25 10:04:57 jokey Exp $ + +*libirman-0.4.4 (25 Sep 2006) + + 25 Sep 2006; +files/libirman-0.4.4-destdir.patch, + metadata.xml, +libirman-0.4.4.ebuild: + Version bump wrt bug 89663 23 Jul 2006; Tobias Scherbaum libirman-0.4.2-r1.ebuild: diff --git a/media-libs/libirman/files/digest-libirman-0.4.4 b/media-libs/libirman/files/digest-libirman-0.4.4 new file mode 100644 index 000000000000..877bb15928c3 --- /dev/null +++ b/media-libs/libirman/files/digest-libirman-0.4.4 @@ -0,0 +1,3 @@ +MD5 b3898fb7f0bc6995cee8950a1bd73368 libirman-0.4.4.tar.gz 52782 +RMD160 78ef318d9fa4cfbb1c6ca2a621f22561ac2cf165 libirman-0.4.4.tar.gz 52782 +SHA256 b29d0858450c56fca97c03cb1032e3b469166d431bfa7327fa3183d31a9f64b2 libirman-0.4.4.tar.gz 52782 diff --git a/media-libs/libirman/files/libirman-0.4.4-destdir.patch b/media-libs/libirman/files/libirman-0.4.4-destdir.patch new file mode 100644 index 000000000000..08aef36c62e7 --- /dev/null +++ b/media-libs/libirman/files/libirman-0.4.4-destdir.patch @@ -0,0 +1,40 @@ +diff -Naur libirman-0.4.2.orig/Makefile.in libirman-0.4.2/Makefile.in +--- libirman-0.4.2.orig/Makefile.in 2004-09-24 02:58:09.312603000 -0700 ++++ libirman-0.4.2/Makefile.in 2004-09-24 02:59:22.620612916 -0700 +@@ -112,23 +112,23 @@ + @echo notice: the test programs are only installed in the current directory \(`pwd`\) + + install-dirs: +- $(top_srcdir)/mkinstalldirs $(libdir) +- $(top_srcdir)/mkinstalldirs $(bindir) +- $(top_srcdir)/mkinstalldirs $(sbindir) +- $(top_srcdir)/mkinstalldirs $(includedir) +- $(top_srcdir)/mkinstalldirs $(sysconfdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sbindir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir) + + 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) -m 755 workmanir $(DESTDIR)$(bindir)/workmanir ++ $(INSTALL) -m 755 libirman.a $(DESTDIR)$(libdir)/libirman.a ++ $(INSTALL) -m 755 libirman.so $(DESTDIR)$(libdir)/libirman.so ++ $(INSTALL) -m 644 irman.conf $(DESTDIR)$(sysconfdir)/irman.conf ++ $(INSTALL) -m 644 irman.h $(DESTDIR)$(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 ++ $(INSTALL) -m 755 workmanir $(DESTDIR)$(bindir)/workmanir ++ $(INSTALL) -m 755 libirman_sw.a $(DESTDIR)$(libdir)/libirman_sw.a ++ $(INSTALL) -m 755 libirman_sw.so $(DESTDIR)$(libdir)/libirman_sw.so + + uninstall: + $(RM) $(bindir)/workmanir diff --git a/media-libs/libirman/libirman-0.4.4.ebuild b/media-libs/libirman/libirman-0.4.4.ebuild new file mode 100644 index 000000000000..c539a47cdee2 --- /dev/null +++ b/media-libs/libirman/libirman-0.4.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/libirman-0.4.4.ebuild,v 1.1 2006/09/25 10:04:57 jokey Exp $ + +IUSE="" +inherit eutils toolchain-funcs + +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="alpha amd64 ia64 ppc ppc64 sparc x86" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch "${FILESDIR}/${PN}-0.4.2-PICShared.patch" + epatch "${FILESDIR}/${P}-destdir.patch" + epatch "${FILESDIR}/${PN}-0.4.2-format.patch" +} + +src_compile() { + tc-export CC LD AR RANLIB + + econf || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + dodir /usr/include + + make DESTDIR="${D}" \ + LIRC_DRIVER_DEVICE="${D}/dev/lirc" \ + install || die + + dobin test_func test_io test_name + dodoc NEWS README* TECHNICAL TODO +} diff --git a/media-libs/libirman/metadata.xml b/media-libs/libirman/metadata.xml index e1774e3d9ad7..4079264c600b 100644 --- a/media-libs/libirman/metadata.xml +++ b/media-libs/libirman/metadata.xml @@ -1,5 +1,9 @@ -sound +no-herd + + jokey@gentoo.org + Markus Ullmann + -- cgit v1.2.3-65-gdbad