/[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.2 - (hide annotations) (download)
Thu Feb 13 05:53:53 2003 UTC (17 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.1: +2 -2 lines
Update Copyright years

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 vapier 1.2 # $Header: /home/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.32.ebuild,v 1.1 2003/01/15 18:32:52 vapier 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     KEYWORDS="~x86 ~ppc ~sparc ~alpha"
14     IUSE="readline static"
15    
16     DEPEND=">=sys-apps/e2fsprogs-1.27
17     >=sys-apps/bzip2-1.0.2
18     >=sys-libs/zlib-1.1.4
19     sys-kernel/linux-headers
20     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     cp ${i} ${i}.orig
30     sed "s:-ltermcap:-lncurses:g" \
31     ${i}.orig > ${i}
32     done
33     fi
34     }
35    
36     src_compile() {
37     local myconf=""
38     use static \
39     && myconf="${myconf} --enable-static" \
40     || myconf="${myconf} --enable-shared"
41    
42     econf \
43     --with-dumpdatespath=/etc/dumpdates \
44     --with-binowner=root \
45     --with-bingroup=root \
46     --enable-largefile \
47     `use_enable readline` \
48     ${myconf} || die
49    
50     emake || die
51     }
52    
53     src_install() {
54     einstall MANDIR=${D}/usr/share/man/man8 || die
55    
56     dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README \
57     REPORTING-BUGS THANKS TODO
58     dodoc -r examples/dump_on_cd
59     }

  ViewVC Help
Powered by ViewVC 1.1.20