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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (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.8: +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.33.ebuild,v 1.8 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 ~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 use static \
38 && myconf="${myconf} --enable-static" \
39 || myconf="${myconf} --enable-shared"
40
41 econf \
42 --with-dumpdatespath=/etc/dumpdates \
43 --with-binowner=root \
44 --with-bingroup=root \
45 --enable-largefile \
46 `use_enable readline` \
47 ${myconf} || die
48
49 emake || die
50 }
51
52 src_install() {
53 einstall MANDIR=${D}/usr/share/man/man8 || die
54
55 dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README \
56 REPORTING-BUGS THANKS TODO
57 dodoc -r examples/dump_on_cd
58 }

  ViewVC Help
Powered by ViewVC 1.1.20