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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jun 1 22:49:36 2004 UTC (16 years, 2 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
thin ebuilds

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.35.ebuild,v 1.2 2004/06/01 22:38: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 ~ia64 ~alpha ~amd64"
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="${DEPEND}
22 || (
23 app-arch/star
24 app-arch/tar
25 )"
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30 if use readline ; then
31 for i in configure.in configure
32 do
33 sed -i "s:-ltermcap:-lncurses:g" \
34 ${i}
35 done
36 fi
37 }
38
39 src_compile() {
40 local myconf=""
41 use static \
42 && myconf="${myconf} --enable-static" \
43 || myconf="${myconf} --enable-shared"
44
45 econf \
46 --with-dumpdatespath=/etc/dumpdates \
47 --with-binowner=root \
48 --with-bingroup=root \
49 --enable-largefile \
50 `use_enable readline` \
51 ${myconf} || die
52
53 emake || die
54 }
55
56 src_install() {
57 einstall MANDIR=${D}/usr/share/man/man8 || die
58
59 dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README \
60 REPORTING-BUGS THANKS TODO
61 dodoc -r examples/dump_on_cd
62 }

  ViewVC Help
Powered by ViewVC 1.1.20