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

Contents of /app-arch/dump/dump-0.4.21-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 30 09:16:11 2001 UTC (19 years, 3 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.21-r1.ebuild,v 1.1 2001/02/09 10:01:59 achim Exp $
5
6 P=dump-0.4b21
7 A=${P}.tar.gz
8 S=${WORKDIR}/${P}
9 DESCRIPTION="Dump/restore ext2fs backup utilities"
10 SRC_URI="http://download.sourceforge.net/dump/${A}"
11 HOMEPAGE="http://dump.sourceforge.net"
12
13 DEPEND=">=sys-apps/e2fsprogs-1.19
14 readline? ( >=sys-libs/readline-4.1-r2 )"
15
16 src_compile() {
17
18 local myconf
19 if [ "`use readline`" ]
20 then
21 myconf=--enable-readline
22 ln -s /lib/libncurses.so libtermcap.so
23 export LDFLAGS="-L${S}"
24 export CFLAGS="$CFLAGS -L${S}"
25 fi
26
27 try ./configure --prefix=/usr --host=${CHOST} \
28 --enable-large-files ${myconf}
29 try make
30
31 }
32
33 src_install () {
34
35 dodir /sbin
36 dodir /usr/share/man/man8
37 dodir /etc/dumpdates
38 try make BINDIR=${D}/sbin MANDIR=${D}/usr/share/man/man8 \
39 DUMPDATESPATH=${D}/etc/dumpdates install
40
41 dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS
42 dodoc README REPORTING-BUGS THANKS TODO
43
44 cd ${D}/sbin
45 rm rdump
46 ln -s dump rdump
47 rm rrestore
48 ln -s restore rrestore
49
50 }
51

  ViewVC Help
Powered by ViewVC 1.1.20