/[gentoo-x86]/app-arch/dump/dump-0.4.31.ebuild
Gentoo

Contents of /app-arch/dump/dump-0.4.31.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Sep 7 00:30:48 2002 UTC (10 years, 8 months ago) by owen
Branch: MAIN
Changes since 1.2: +2 -2 lines
add ppc to keywords

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /home/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.31.ebuild,v 1.2 2002/08/16 02:34:18 murphy Exp $
4
5 MY_P=${P/4./4b}
6 S=${WORKDIR}/${MY_P}
7 DESCRIPTION="Dump/restore ext2fs backup utilities"
8 SRC_URI="http://download.sourceforge.net/dump/${MY_P}.tar.gz"
9 HOMEPAGE="http://dump.sourceforge.net"
10
11 DEPEND=">=sys-apps/e2fsprogs-1.27
12 >=sys-apps/bzip2-1.0.2
13 >=sys-libs/zlib-1.1.4
14 sys-kernel/linux-headers
15 readline? ( sys-libs/readline )"
16
17 RDEPEND="sys-apps/star"
18
19 SLOT="0"
20 LICENSE="BSD"
21 KEYWORDS="x86 ppc sparc sparc64"
22
23 src_unpack() {
24
25 unpack ${A}
26 cd ${S}
27 use readline && ( \
28 for i in configure configure.in
29 do
30 cp ${i} ${i}.orig
31 sed "s:-ltermcap:-lncurses:g" \
32 ${i}.orig > ${i}
33 done
34 )
35 }
36
37 src_compile() {
38
39 local myconf
40
41 use readline \
42 && myconf="--enable-readline" \
43 || myconf="--disable-readline"
44
45 use static \
46 && myconf="${myconf} --snable-static" \
47 || myconf="${myconf} --enable-shared"
48
49 econf \
50 --with-dumpdatespath=/etc/dumpdates \
51 --with-binowner=root \
52 --with-bingroup=root \
53 --enable-largefile \
54 ${myconf} || die
55
56 emake || die
57 }
58 src_install () {
59 einstall MANDIR=${D}/usr/share/man/man8 || die
60
61 dodoc CHANGES COPYRIGHT INSTALL KNOWNBUGS MAINTAINERS README \
62 REPORTING-BUGS THANKS TODO
63 dodoc -r examples/dump_on_cd
64 }

  ViewVC Help
Powered by ViewVC 1.1.20