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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (hide annotations) (download)
Tue Oct 26 03:03:21 2004 UTC (15 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
old

1 agriffis 1.12 # Copyright 1999-2004 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.14 # $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.32.ebuild,v 1.13 2004/10/05 10:59:23 pvdabeel Exp $
4 vapier 1.1
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 pvdabeel 1.13 KEYWORDS="x86 ppc ~sparc alpha"
14 vapier 1.1 IUSE="readline static"
15    
16 seemant 1.5 DEPEND=">=sys-fs/e2fsprogs-1.27
17 seemant 1.9 >=app-arch/bzip2-1.0.2
18 vapier 1.1 >=sys-libs/zlib-1.1.4
19 vapier 1.4 virtual/os-headers
20 vapier 1.1 readline? ( sys-libs/readline )"
21 seemant 1.8 RDEPEND="app-arch/star"
22 vapier 1.1
23     src_unpack() {
24     unpack ${A}
25     cd ${S}
26 agriffis 1.11 if use readline ; then
27 vapier 1.1 for i in configure configure.in
28     do
29 aliz 1.6 sed -i "s:-ltermcap:-lncurses:g" \
30     ${i}
31 vapier 1.1 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