1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="File corruption detection and repair program"
7 HOMEPAGE="http://rdko.sourceforge.net/"
8 SRC_URI="mirror://sourceforge/rdko/${MY_PN}-${PV}.tar.bz2"
16 RDEPEND="gtk? ( >=x11-libs/gtk+-2.4.0 )"
19 >=dev-util/pkgconfig-0.15"
21 S="${WORKDIR}/${MY_PN}"
28 -e '/^CFLAGS =/s:-fmessage-length=0 -fexpensive-optimizations -O3:$(E_CFLAGS):' \
29 -e '/^CFLAGSGUI/s:-fmessage-length=0 -fexpensive-optimizations -O3:$(CFLAGS):' \
30 Makefile || die "sed Makefile failed"
34 emake E_CFLAGS="${CFLAGS}" || die "emake failed"
36 emake E_CFLAGS="${CFLAGS}" rdko || die "emake failed"
42 dobin rdko || die "dobin rdko failed"
44 dobin gredeko || die "dobin gredeko failed"