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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Thu May 15 21:15:32 2003 UTC (17 years, 3 months ago) by mholzer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
cleanup

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.29.ebuild,v 1.11 2003/02/13 05:53:35 vapier 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 sparc "
14 IUSE="readline static"
15
16 DEPEND=">=sys-apps/e2fsprogs-1.27
17 >=sys-apps/bzip2-1.0.2
18 >=sys-libs/zlib-1.1.4
19 sys-kernel/linux-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 cp ${i} ${i}.orig
30 sed "s:-ltermcap:-lncurses:g" \
31 ${i}.orig > ${i}
32 done
33 fi
34 }
35
36 src_compile() {
37 local myconf
38
39 use readline \
40 && myconf="--enable-readline" \
41 || myconf="--disable-readline"
42
43 use static \
44 && myconf="${myconf} --enable-static" \
45 || myconf="${myconf} --enable-shared"
46
47 econf \
48 --with-dumpdatespath=/etc/dumpdates \
49 --with-binowner=root \
50 --with-bingroup=root \
51 --enable-largefile \
52 ${myconf}
53
54 emake || die
55 }
56 src_install() {
57 einstall MANDIR=${D}/usr/share/man/man8
58
59 dodoc CHANGES COPYRIGHT INSTALL KNOWNBUGS MAINTAINERS README \
60 REPORTING-BUGS THANKS TODO
61 dodoc -r examples/dump_on_cd
62 }

  ViewVC Help
Powered by ViewVC 1.1.20