summaryrefslogtreecommitdiff
blob: fb38d73ee23ebbf03fc2fc74d8fa0cef79c5bf91 (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
33
34
35
36
37
38
39
40
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.28.ebuild,v 1.2 2002/07/06 20:46:50 drobbins Exp $

MY_P=${P/4./4b}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Dump/restore ext2fs backup utilities"
SRC_URI="http://download.sourceforge.net/dump/${MY_P}.tar.gz"
HOMEPAGE="http://dump.sourceforge.net"
LICENSE="BSD"

DEPEND=">=sys-apps/e2fsprogs-1.27
	>=sys-apps/bzip2-1.0.2
	>=sys-libs/zlib-1.1.4
	>=sys-kernel/linux-headers-2.4.10"

RDEPEND="sys-apps/star"

src_compile() {
	local myconf
	./configure --prefix=/usr \
		--with-dumpdatespath=/etc \
		--with-bingroup=root \
		--enable-largefile ${rlconf} \
		--disable-readline \
		--enable-static \
		|| die

	emake || die
}
src_install () {
	into /
	dosbin dump/dump restore/restore
	doman restore/restore.8
	doman dump/dump.8
	dodoc CHANGES COPYRIGHT INSTALL KNOWNBUGS MAINTAINERS README \
		REPORTING-BUGS THANKS TODO
	cp -a examples/dump_on_cd ${D}/usr/share/doc/${PF}
}