/[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.22 - (show annotations) (download)
Tue Oct 26 03:03:21 2004 UTC (15 years, 9 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -1 lines
FILE REMOVED
old

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

  ViewVC Help
Powered by ViewVC 1.1.20