public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/crwinfo: ChangeLog crwinfo-0.2.ebuild
@ 2012-07-01 10:40 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-07-01 10:40 UTC (permalink / raw
  To: gentoo-commits

jlec        12/07/01 10:40:27

  Modified:             ChangeLog crwinfo-0.2.ebuild
  Log:
  media-gfx/crwinfo: Respect LDFLAGS, #337406; bumped to EAPI=4
  
  (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  media-gfx/crwinfo/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	21 Apr 2008 17:30:22 -0000	1.4
+++ ChangeLog	1 Jul 2012 10:40:27 -0000	1.5
@@ -1,6 +1,9 @@
 # ChangeLog for media-gfx/crwinfo
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/ChangeLog,v 1.4 2008/04/21 17:30:22 phreak Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/ChangeLog,v 1.5 2012/07/01 10:40:27 jlec Exp $
+
+  01 Jul 2012; Justin Lecher <jlec@gentoo.org> crwinfo-0.2.ebuild:
+  Respect LDFLAGS, #337406; bumped to EAPI=4
 
   21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
   Fix up metadata.xml. If there's no maintainer for the package, the metadata



1.3                  media-gfx/crwinfo/crwinfo-0.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild?r1=1.2&r2=1.3

Index: crwinfo-0.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- crwinfo-0.2.ebuild	23 Sep 2009 15:10:44 -0000	1.2
+++ crwinfo-0.2.ebuild	1 Jul 2012 10:40:27 -0000	1.3
@@ -1,30 +1,31 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild,v 1.2 2009/09/23 15:10:44 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild,v 1.3 2012/07/01 10:40:27 jlec Exp $
 
-inherit eutils
+EAPI=4
+
+inherit eutils toolchain-funcs
 
 DESCRIPTION="Canon raw image (CRW) information and thumbnail extractor"
 HOMEPAGE="http://freshmeat.net/projects/crwinfo/"
 SRC_URI="http://neuemuenze.heim1.tu-clausthal.de/~sven/crwinfo/CRWInfo-${PV}.tar.gz"
-S="${WORKDIR}/CRWInfo-${PV}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="x86 ppc sparc amd64 alpha ia64 hppa ppc64"
 IUSE=""
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-	epatch "${FILESDIR}"/${P}.patch
-}
+S="${WORKDIR}/CRWInfo-${PV}"
 
-src_compile() {
-	emake || die
+src_prepare() {
+	epatch "${FILESDIR}"/${P}.patch
+	sed \
+		-e '/gcc/s:^.*$:\t$(CC) $(CFLAGS) -Wall -c crwinfo.c\n\t$(CC) $(LDFLAGS) -o crwinfo crwinfo.o:g' \
+		-i Makefile || die
+	tc-export CC
 }
 
 src_install() {
-	dobin crwinfo || die
+	dobin crwinfo
 	dodoc README spec
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-01 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-01 10:40 [gentoo-commits] gentoo-x86 commit in media-gfx/crwinfo: ChangeLog crwinfo-0.2.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox