Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
Subject: gentoo-x86 commit in app-backup/cdbackup: cdbackup-0.7.0.ebuild ChangeLog
Date: Wed, 15 Oct 2008 11:45:23 +0000
flameeyes    08/10/15 11:45:23

  Modified:             cdbackup-0.7.0.ebuild ChangeLog
  Log:
  Respect CFLAGS, LDFLAGS and CC properly. Avoid sed on the Makefile to set prefix: use dobin and doman instead. Don't install license file.
  (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)

Revision  Changes    Path
1.3                  app-backup/cdbackup/cdbackup-0.7.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild?r1=1.2&r2=1.3

Index: cdbackup-0.7.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cdbackup-0.7.0.ebuild	14 Oct 2008 22:52:25 -0000	1.2
+++ cdbackup-0.7.0.ebuild	15 Oct 2008 11:45:23 -0000	1.3
@@ -1,8 +1,8 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild,v 1.2 2008/10/14 22:52:25 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild,v 1.3 2008/10/15 11:45:23 flameeyes Exp $
 
-inherit eutils
+inherit toolchain-funcs
 
 DESCRIPTION="Allows streaming backup utilities to dump/restore from CD-R(W)s or DVD(+/-RW)s"
 HOMEPAGE="http://www.muempf.de/index.html"
@@ -17,18 +17,18 @@
 DEPEND=""
 
 src_unpack() {
-	unpack ${A} ; cd ${S}
+	unpack ${A}
 
-	sed -i \
-		-e "s:^PREFIX=/usr/local$:PREFIX=\${DESTDIR}/usr:" Makefile \
-			|| die "sed Makefile failed"
+	sed -i -e '/cd\(backup\|restore\)/,+1 s:CFLAGS:LDFLAGS:' \
+		"${S}"/Makefile || die "sed Makefile failed"
 }
 
 src_compile() {
-	make DESTDIR="${D}" || die "make failed"
+	emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "make failed"
 }
 
 src_install() {
-	make DESTDIR="${D}" install || die "make install failed"
-	dodoc CHANGES CREDITS README LICENSE
+	dobin cdbackup cdrestore || die "dobin failed"
+	doman cdbackup.1 cdrestore.1 || die "doman failed"
+	dodoc CHANGES CREDITS README || die "dodoc failed"
 }



1.3                  app-backup/cdbackup/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-backup/cdbackup/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	14 Oct 2008 22:52:25 -0000	1.2
+++ ChangeLog	15 Oct 2008 11:45:23 -0000	1.3
@@ -1,6 +1,10 @@
 # ChangeLog for app-backup/cdbackup
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/ChangeLog,v 1.2 2008/10/14 22:52:25 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/ChangeLog,v 1.3 2008/10/15 11:45:23 flameeyes Exp $
+
+  15 Oct 2008; Diego Pettenò <flameeyes@g.o> cdbackup-0.7.0.ebuild:
+  Respect CFLAGS, LDFLAGS and CC properly. Avoid sed on the Makefile to set
+  prefix: use dobin and doman instead. Don't install license file.
 
   14 Oct 2008; Diego Pettenò <flameeyes@g.o> cdbackup-0.7.0.ebuild:
   Fix dependencies, cdrtools is not linked to and needs not to be around for





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in app-backup/cdbackup: cdbackup-0.7.0.ebuild ChangeLog
Next by thread:
gentoo-x86 commit in kde-misc/powerdevil: - New directory
Previous by date:
gentoo-x86 commit in dev-ruby/httpclient: httpclient-2.1.2.ebuild ChangeLog
Next by date:
gentoo-x86 commit in media-video/xine-ui: ChangeLog xine-ui-0.99.5-r2.ebuild


Updated Sep 21, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.