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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Jan 31 19:46:37 2012 UTC (8 years, 6 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

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.41.ebuild,v 1.8 2007/12/29 21:53:13 rich0 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 ermt"
15
16 RDEPEND=">=sys-fs/e2fsprogs-1.27
17 >=app-arch/bzip2-1.0.2
18 >=sys-libs/zlib-1.1.4
19 ermt? ( dev-libs/openssl )
20 readline? ( sys-libs/readline )"
21 DEPEND="${RDEPEND}
22 virtual/os-headers"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 sed -i "s:-ltermcap:-lncurses:g" configure || die
28 }
29
30 src_compile() {
31 econf \
32 --with-dumpdatespath=/etc/dumpdates \
33 --with-{bin,man}owner=root \
34 --with-{bin,man}grp=root \
35 --enable-largefile \
36 $(use_enable ermt) \
37 $(use_enable static) \
38 $(use_enable readline) \
39 || die
40 emake || die
41 }
42
43 src_install() {
44 # built on old autotools, no DESTDIR support
45 einstall MANDIR="${D}"/usr/share/man/man8 || die
46 mv "${D}"/usr/sbin/{,dump-}rmt
47 mv "${D}"/usr/share/man/man8/{,dump-}rmt.8
48 use ermt && newsbin rmt/ermt dump-ermt
49
50 dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
51 cd examples
52 local d=
53 for d in * ; do
54 docinto ${d}
55 dodoc ${d}/*
56 done
57 }
58
59 pkg_postinst() {
60 ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
61 ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
62 }

  ViewVC Help
Powered by ViewVC 1.1.20