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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Sep 30 03:13:34 2009 UTC (10 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.39.ebuild,v 1.4 2005/05/27 07:24:13 josejx Exp $
4
5 MY_P=${P/4./4b}
6 S=${WORKDIR}/${MY_P}
7 DESCRIPTION="Dump/restore ext2fs backup utilities"
8 HOMEPAGE="http://dump.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ia64 ppc sparc x86"
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 readline? ( sys-libs/readline )"
20 RDEPEND="${DEPEND}
21 || (
22 app-arch/star
23 app-arch/tar
24 )"
25
26 # virtual/os-headers never belong in RDEPENDs
27 DEPEND="${DEPEND} virtual/os-headers"
28
29 src_unpack() {
30 unpack ${A}
31 cd ${S}
32 sed -i "s:-ltermcap:-lncurses:g" configure || die
33 }
34
35 src_compile() {
36 econf \
37 --with-dumpdatespath=/etc/dumpdates \
38 --with-binowner=root \
39 --with-bingroup=root \
40 --enable-largefile \
41 $(use_enable static) \
42 $(use_enable static staticz) \
43 $(use_enable readline) \
44 || die
45 emake || die
46 }
47
48 src_install() {
49 # built on old autotools, no DESTDIR support
50 einstall MANDIR=${D}/usr/share/man/man8 || die
51 mv "${D}"/usr/sbin/{,dump-}rmt
52 mv "${D}"/usr/share/man/man8/{,dump-}rmt.8
53
54 dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
55 cd examples
56 local d=
57 for d in * ; do
58 docinto ${d}
59 dodoc ${d}/*
60 done
61 }
62
63 pkg_postinst() {
64 ewarn "Dump now installs 'rmt' as 'dump-rmt'."
65 ewarn "This is to avoid conflicts with tar's 'rmt'."
66 }

  ViewVC Help
Powered by ViewVC 1.1.20