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

Contents of /app-arch/dump/dump-0.4.28-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jul 25 14:16:07 2002 UTC (18 years ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
repoman'd

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.28-r1.ebuild,v 1.3 2002/07/17 20:44:57 drobbins 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 SLOT="0"
10 HOMEPAGE="http://dump.sourceforge.net"
11
12 DEPEND=">=sys-apps/e2fsprogs-1.27
13 >=sys-apps/bzip2-1.0.2
14 >=sys-libs/zlib-1.1.4
15 >=sys-kernel/linux-headers-2.4.10
16 readline? ( sys-libs/readline )"
17
18 RDEPEND="sys-apps/star"
19
20 LICENSE="BSD"
21 SLOT="0"
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 # into /
60 # dosbin dump/dump restore/restore
61 # doman restore/restore.8
62 # doman dump/dump.8
63 einstall \
64 MANDIR=${D}/usr/share/man/man8 || die
65 dodoc CHANGES COPYRIGHT INSTALL KNOWNBUGS MAINTAINERS README \
66 REPORTING-BUGS THANKS TODO
67 dodoc -r examples/dump_on_cd
68 }

  ViewVC Help
Powered by ViewVC 1.1.20