blob: e9600dde45587d069550517498ced0ce4d7c9a68 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.30.ebuild,v 1.3 2002/08/16 02:34:18 murphy 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"
DEPEND=">=sys-apps/e2fsprogs-1.27
>=sys-apps/bzip2-1.0.2
>=sys-libs/zlib-1.1.4
sys-kernel/linux-headers
readline? ( sys-libs/readline )"
RDEPEND="sys-apps/star"
SLOT="0"
LICENSE="BSD"
KEYWORDS="x86 sparc sparc64" # make install failed on ppc - no target install
src_unpack() {
unpack ${A}
cd ${S}
use readline && ( \
for i in configure configure.in
do
cp ${i} ${i}.orig
sed "s:-ltermcap:-lncurses:g" \
${i}.orig > ${i}
done
)
}
src_compile() {
local myconf
use readline \
&& myconf="--enable-readline" \
|| myconf="--disable-readline"
use static \
&& myconf="${myconf} --snable-static" \
|| myconf="${myconf} --enable-shared"
econf \
--with-dumpdatespath=/etc/dumpdates \
--with-binowner=root \
--with-bingroup=root \
--enable-largefile \
${myconf} || die
emake || die
}
src_install () {
einstall MANDIR=${D}/usr/share/man/man8 || die
dodoc CHANGES COPYRIGHT INSTALL KNOWNBUGS MAINTAINERS README \
REPORTING-BUGS THANKS TODO
dodoc -r examples/dump_on_cd
}
|