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

Contents of /sys-fs/ddrescue/ddrescue-1.15-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu May 3 12:20:24 2012 UTC (2 years, 7 months ago) by xmw
Branch: MAIN
Revbump to improve Prefix support (bug 414457)

(Portage version: 2.1.10.49/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.15.ebuild,v 1.4 2012/05/03 09:38:49 xmw 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