/[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.6 - (hide annotations) (download)
Fri Sep 26 21:07:35 2003 UTC (16 years, 11 months ago) by aliz
Branch: MAIN
Changes since 1.5: +3 -4 lines
epatch and sed updates, changelog fixes

1 vapier 1.2 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 aliz 1.6 # $Header: /home/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.32.ebuild,v 1.5 2003/09/15 17:49:03 seemant 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 aliz 1.3 KEYWORDS="x86 ~ppc ~sparc ~alpha"
14 vapier 1.1 IUSE="readline static"
15    
16 seemant 1.5 DEPEND=">=sys-fs/e2fsprogs-1.27
17 vapier 1.1 >=sys-apps/bzip2-1.0.2
18     >=sys-libs/zlib-1.1.4
19 vapier 1.4 virtual/os-headers
20 vapier 1.1 readline? ( sys-libs/readline )"
21     RDEPEND="sys-apps/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 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