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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (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.11: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2007 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.40.ebuild,v 1.11 2007/03/17 18:02:02 beandog 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 ~hppa ia64 ppc ppc64 sparc x86"
14 IUSE="readline static"
15
16 RDEPEND=">=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 DEPEND="${RDEPEND}
21 virtual/os-headers"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 sed -i "s:-ltermcap:-lncurses:g" configure || die
27 }
28
29 src_compile() {
30 econf \
31 --with-dumpdatespath=/etc/dumpdates \
32 --with-{bin,man}owner=root \
33 --with-{bin,man}grp=root \
34 --enable-largefile \
35 $(use_enable static) \
36 $(use_enable readline) \
37 || die
38 emake || die
39 }
40
41 src_install() {
42 # built on old autotools, no DESTDIR support
43 einstall MANDIR="${D}"/usr/share/man/man8 || die
44 mv "${D}"/usr/sbin/{,dump-}rmt
45 mv "${D}"/usr/share/man/man8/{,dump-}rmt.8
46
47 dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
48 cd examples
49 local d=
50 for d in * ; do
51 docinto ${d}
52 dodoc ${d}/*
53 done
54 }
55
56 pkg_postinst() {
57 ewarn "Dump now installs 'rmt' as 'dump-rmt'."
58 ewarn "This is to avoid conflicts with tar's 'rmt'."
59 }

  ViewVC Help
Powered by ViewVC 1.1.20