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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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

1 # Copyright 1999-2011 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.44.ebuild,v 1.2 2011/06/16 09:54:35 pva Exp $
4
5 EAPI="4"
6 inherit eutils autotools
7
8 MY_P=${P/4./4b}
9 S=${WORKDIR}/${MY_P}
10 DESCRIPTION="Dump/restore ext2fs backup utilities"
11 HOMEPAGE="http://dump.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
17 IUSE="debug ermt readline selinux static"
18
19 RDEPEND=">=sys-fs/e2fsprogs-1.27
20 >=app-arch/bzip2-1.0.2
21 >=sys-libs/zlib-1.1.4
22 ermt? ( dev-libs/openssl )
23 readline? ( sys-libs/readline
24 sys-libs/ncurses
25 static? ( sys-libs/ncurses[static-libs] ) )"
26 DEPEND="${RDEPEND}
27 dev-util/pkgconfig
28 virtual/os-headers"
29
30 src_prepare() {
31 epatch "${FILESDIR}/${P}-underlinking.patch"
32 eautoreconf
33 }
34
35 src_configure() {
36 econf \
37 --with-dumpdatespath=/etc/dumpdates \
38 --with-{bin,man}owner=root \
39 --with-{bin,man}grp=root \
40 --enable-largefile \
41 $(use_enable selinux transselinux) \
42 $(use_enable ermt) \
43 $(use_enable static) \
44 $(use_enable readline) \
45 $(use_enable debug)
46 }
47
48 src_install() {
49 # built on old autotools, no DESTDIR support
50 einstall MANDIR="${D}"/usr/share/man/man8
51 mv "${ED}"/usr/sbin/{,dump-}rmt || die
52 mv "${ED}"/usr/share/man/man8/{,dump-}rmt.8 || die
53 use ermt && newsbin rmt/ermt dump-ermt
54
55 dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
56 dodoc -r examples/*
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