/[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.7 - (show annotations) (download)
Fri Oct 3 15:27:38 2003 UTC (16 years, 11 months ago) by agriffis
Branch: MAIN
Changes since 1.6: +2 -2 lines
stable on alpha

1 # Copyright 1999-2003 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.32.ebuild,v 1.6 2003/09/26 21:07:35 aliz 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 >=sys-apps/bzip2-1.0.2
18 >=sys-libs/zlib-1.1.4
19 virtual/os-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 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