summaryrefslogtreecommitdiff
blob: b4d2b3d7b70b1d18051095d778d29afedc31f648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcfldd/dcfldd-1.0.ebuild,v 1.3 2004/06/24 22:02:20 agriffis Exp $

DESCRIPTION="Enhanced dd with md5 checksums"
HOMEPAGE="http://biatchux.dmzs.com/"
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}
	# fix multiline strings in src/dcfldd.c
	sed -i \
		-e '326s:"::' \
		-e '370s:"::' \
		-e '326,369s:\\$::' \
		-e '345s:.*:&\\n:' \
		-e '327,369s:.*$:"&":' \
		src/dcfldd.c
}

src_install() {
	make install DESTDIR=${D} || die "make install failed"
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}