summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-06 15:28:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-06 15:28:59 +0000
commitc59b0270acfe345bf398761771d58a964e2772e0 (patch)
treef98564b6cb24aadeb0c7fc05d5f50db25995100d /media-libs/libirman/libirman-0.4.2-r1.ebuild
parentDrop virtual/libc dependency. (diff)
downloadgentoo-2-c59b0270acfe345bf398761771d58a964e2772e0.tar.gz
gentoo-2-c59b0270acfe345bf398761771d58a964e2772e0.tar.bz2
gentoo-2-c59b0270acfe345bf398761771d58a964e2772e0.zip
Drop virtual/libc dependency, add patch to build with gcc4 and avoid problems with printf() calls, use the right compiler and linker.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-libs/libirman/libirman-0.4.2-r1.ebuild')
-rw-r--r--media-libs/libirman/libirman-0.4.2-r1.ebuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/media-libs/libirman/libirman-0.4.2-r1.ebuild b/media-libs/libirman/libirman-0.4.2-r1.ebuild
index 4e468e2c9d55..0dc47742bfa5 100644
--- a/media-libs/libirman/libirman-0.4.2-r1.ebuild
+++ b/media-libs/libirman/libirman-0.4.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2005 Gentoo Foundation
+# 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.2-r1.ebuild,v 1.7 2005/09/03 23:36:27 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/libirman-0.4.2-r1.ebuild,v 1.8 2006/03/06 15:28:59 flameeyes Exp $
IUSE=""
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="library for Irman control of Unix software"
SRC_URI="http://www.lirc.org/software/snapshots/${P}.tar.gz"
@@ -13,29 +13,29 @@ SLOT="0"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="alpha amd64 ia64 ~ppc sparc x86"
-DEPEND="virtual/libc"
-
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${P}-PICShared.patch
- epatch ${FILESDIR}/${P}-destdir.patch
+ epatch "${FILESDIR}/${P}-PICShared.patch"
+ epatch "${FILESDIR}/${P}-destdir.patch"
+ epatch "${FILESDIR}/${P}-format.patch"
+ epatch "${FILESDIR}/${P}-gcc4.patch"
}
src_compile() {
- econf || die
+ tc-export CC LD AR RANLIB
- # See bug #52586 for -j1 reasons
- emake -j1 || die
+ 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
+ LIRC_DRIVER_DEVICE="${D}/dev/lirc" \
+ install || die
dobin test_func test_io test_name
dodoc NEWS README* TECHNICAL TODO