/[gentoo-x86]/sys-fs/ddrescue/ddrescue-1.16.ebuild
Gentoo

Contents of /sys-fs/ddrescue/ddrescue-1.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Aug 15 11:07:43 2012 UTC (2 years, 1 month ago) by blueness
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable ppc, bug #429214

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/ddrescue/ddrescue-1.16.ebuild,v 1.3 2012/08/10 14:04:50 johu Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Copies data from one file or block device to another with read-error recovery"
10 HOMEPAGE="http://www.gnu.org/software/ddrescue/ddrescue.html"
11 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86 ~amd64-linux"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 src_configure() {
22 # not a normal configure script
23 econf \
24 --prefix="${EPREFIX}"/usr \
25 CC="$(tc-getCC)" \
26 CXX="$(tc-getCXX)" \
27 CPPFLAGS="${CPPFLAGS}" \
28 CFLAGS="${CFLAGS}" \
29 CXXFLAGS="${CXXFLAGS}" \
30 LDFLAGS="${LDFLAGS}"
31 }
32
33 src_test() {
34 ./testsuite/check.sh "${S}"/testsuite || die
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install install-man
39 dodoc ChangeLog README NEWS AUTHORS
40 }

  ViewVC Help
Powered by ViewVC 1.1.20