1 |
flameeyes 08/10/15 11:45:23 |
2 |
|
3 |
Modified: cdbackup-0.7.0.ebuild ChangeLog |
4 |
Log: |
5 |
Respect CFLAGS, LDFLAGS and CC properly. Avoid sed on the Makefile to set prefix: use dobin and doman instead. Don't install license file. |
6 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 app-backup/cdbackup/cdbackup-0.7.0.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: cdbackup-0.7.0.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- cdbackup-0.7.0.ebuild 14 Oct 2008 22:52:25 -0000 1.2 |
22 |
+++ cdbackup-0.7.0.ebuild 15 Oct 2008 11:45:23 -0000 1.3 |
23 |
@@ -1,8 +1,8 @@ |
24 |
# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild,v 1.2 2008/10/14 22:52:25 flameeyes Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/cdbackup-0.7.0.ebuild,v 1.3 2008/10/15 11:45:23 flameeyes Exp $ |
28 |
|
29 |
-inherit eutils |
30 |
+inherit toolchain-funcs |
31 |
|
32 |
DESCRIPTION="Allows streaming backup utilities to dump/restore from CD-R(W)s or DVD(+/-RW)s" |
33 |
HOMEPAGE="http://www.muempf.de/index.html" |
34 |
@@ -17,18 +17,18 @@ |
35 |
DEPEND="" |
36 |
|
37 |
src_unpack() { |
38 |
- unpack ${A} ; cd ${S} |
39 |
+ unpack ${A} |
40 |
|
41 |
- sed -i \ |
42 |
- -e "s:^PREFIX=/usr/local$:PREFIX=\${DESTDIR}/usr:" Makefile \ |
43 |
- || die "sed Makefile failed" |
44 |
+ sed -i -e '/cd\(backup\|restore\)/,+1 s:CFLAGS:LDFLAGS:' \ |
45 |
+ "${S}"/Makefile || die "sed Makefile failed" |
46 |
} |
47 |
|
48 |
src_compile() { |
49 |
- make DESTDIR="${D}" || die "make failed" |
50 |
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "make failed" |
51 |
} |
52 |
|
53 |
src_install() { |
54 |
- make DESTDIR="${D}" install || die "make install failed" |
55 |
- dodoc CHANGES CREDITS README LICENSE |
56 |
+ dobin cdbackup cdrestore || die "dobin failed" |
57 |
+ doman cdbackup.1 cdrestore.1 || die "doman failed" |
58 |
+ dodoc CHANGES CREDITS README || die "dodoc failed" |
59 |
} |
60 |
|
61 |
|
62 |
|
63 |
1.3 app-backup/cdbackup/ChangeLog |
64 |
|
65 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/ChangeLog?rev=1.3&view=markup |
66 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/ChangeLog?rev=1.3&content-type=text/plain |
67 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/cdbackup/ChangeLog?r1=1.2&r2=1.3 |
68 |
|
69 |
Index: ChangeLog |
70 |
=================================================================== |
71 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/cdbackup/ChangeLog,v |
72 |
retrieving revision 1.2 |
73 |
retrieving revision 1.3 |
74 |
diff -u -r1.2 -r1.3 |
75 |
--- ChangeLog 14 Oct 2008 22:52:25 -0000 1.2 |
76 |
+++ ChangeLog 15 Oct 2008 11:45:23 -0000 1.3 |
77 |
@@ -1,6 +1,10 @@ |
78 |
# ChangeLog for app-backup/cdbackup |
79 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
80 |
-# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/ChangeLog,v 1.2 2008/10/14 22:52:25 flameeyes Exp $ |
81 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/cdbackup/ChangeLog,v 1.3 2008/10/15 11:45:23 flameeyes Exp $ |
82 |
+ |
83 |
+ 15 Oct 2008; Diego Pettenò <flameeyes@g.o> cdbackup-0.7.0.ebuild: |
84 |
+ Respect CFLAGS, LDFLAGS and CC properly. Avoid sed on the Makefile to set |
85 |
+ prefix: use dobin and doman instead. Don't install license file. |
86 |
|
87 |
14 Oct 2008; Diego Pettenò <flameeyes@g.o> cdbackup-0.7.0.ebuild: |
88 |
Fix dependencies, cdrtools is not linked to and needs not to be around for |