1 |
radhermit 12/02/04 18:08:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dd-rescue-1.25.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.19 sys-fs/dd-rescue/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/ChangeLog?rev=1.19&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/ChangeLog?rev=1.19&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/ChangeLog?r1=1.18&r2=1.19 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v |
20 |
retrieving revision 1.18 |
21 |
retrieving revision 1.19 |
22 |
diff -u -r1.18 -r1.19 |
23 |
--- ChangeLog 5 Dec 2011 10:22:04 -0000 1.18 |
24 |
+++ ChangeLog 4 Feb 2012 18:08:59 -0000 1.19 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-fs/dd-rescue |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v 1.18 2011/12/05 10:22:04 radhermit Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v 1.19 2012/02/04 18:08:59 radhermit Exp $ |
31 |
+ |
32 |
+*dd-rescue-1.25 (04 Feb 2012) |
33 |
+ |
34 |
+ 04 Feb 2012; Tim Harder <radhermit@g.o> +dd-rescue-1.25.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
*dd-rescue-1.24 (05 Dec 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-fs/dd-rescue/dd-rescue-1.25.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.25.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.25.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dd-rescue-1.25.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.25.ebuild,v 1.1 2012/02/04 18:08:59 radhermit Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
inherit base toolchain-funcs |
56 |
|
57 |
MY_PN=${PN/-/_} |
58 |
MY_P=${MY_PN}-${PV} |
59 |
|
60 |
DESCRIPTION="Similar to dd but can copy from source with errors" |
61 |
HOMEPAGE="http://www.garloff.de/kurt/linux/ddrescue/" |
62 |
SRC_URI="http://www.garloff.de/kurt/linux/ddrescue/${MY_P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~arm ~amd64-linux ~x86-linux ~ppc-macos" |
67 |
IUSE="static kernel_linux elibc_glibc" |
68 |
|
69 |
S=${WORKDIR}/${MY_PN} |
70 |
|
71 |
src_compile() { |
72 |
use static && append-flags -static |
73 |
|
74 |
# Passing LDFLAGS together with CFLAGS is not often a good idea, but |
75 |
# in this case it makes it possible to avoid patching; after all it |
76 |
# only builds the progrma whole, not with object files. |
77 |
# |
78 |
# The falloc target creates a dd_rescue binary that uses the |
79 |
# fallocate() function, present in Kernel 2.6.23 and later and GLIBC |
80 |
# 2.10 and later. If somebody can think of a better way to |
81 |
# optionally use it, suggestions are welcome. |
82 |
emake RPM_OPT_FLAGS="${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \ |
83 |
$(use kernel_linux && use elibc_glibc && echo "falloc") |
84 |
} |
85 |
|
86 |
src_install() { |
87 |
# easier to install by hand than trying to make sense of the |
88 |
# Makefile. |
89 |
into / |
90 |
dobin dd_rescue |
91 |
|
92 |
dodoc README.dd_rescue |
93 |
} |