# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Enhanced dd with md5 checksums" HOMEPAGE="http://sourceforge.net/projects/biatchux/" SRC_URI="mirror://sourceforge/biatchux/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/glibc" src_unpack() { unpack ${A} cd ${S} # had to do a little manipulation on the help message to get it to compile. sed -i \ -e '326s:"::' \ -e '370s:"::' \ -e '326,369s:\\$::' \ -e '345s:.*:&\\n:' \ -e '327,369s:.*$:"&":' \ src/dcfldd.c } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make install DESTDIR=${D} || die "make install failed" rm -rf ${D}/usr/info }