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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Apr 27 04:27:42 2002 UTC (18 years, 3 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
version bump, cleanup and old ebuild removal

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-r2.ebuild,v 1.3 2001/11/10 02:33:03 hallski Exp $
5
6 P=dump-0.4b21
7 S=${WORKDIR}/${P}
8 DESCRIPTION="Dump/restore ext2fs backup utilities"
9 SRC_URI="http://download.sourceforge.net/dump/${P}.tar.gz"
10 HOMEPAGE="http://dump.sourceforge.net"
11
12 DEPEND=">=sys-apps/e2fsprogs-1.19
13 readline? ( >=sys-libs/readline-4.1-r2 >=sys-libs/ncurses-5.2 )"
14 RDEPEND="$DEPEND sys-apps/star"
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S}
19 for i in dump-main.c dump-optr.c
20 do
21 patch -p0 < ${FILESDIR}/${PN}-${PV}-${i}-gentoo.diff
22 done
23 }
24
25 src_compile() {
26
27 local myconf
28 if [ "`use readline`" ]
29 then
30 myconf=--enable-readline
31 ln -s /lib/libncurses.so libtermcap.so
32 export LDFLAGS="-L${S}"
33 export CFLAGS="$CFLAGS -L${S}"
34 fi
35
36 try ./configure --prefix=/usr --host=${CHOST} \
37 --enable-largefile ${myconf}
38 try make
39
40 }
41
42 src_install () {
43
44 dodir /sbin
45 dodir /usr/share/man/man8
46 dodir /etc/dumpdates
47 try make BINDIR=${D}/sbin MANDIR=${D}/usr/share/man/man8 \
48 DUMPDATESPATH=${D}/etc/dumpdates install
49
50 dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS
51 dodoc README REPORTING-BUGS THANKS TODO
52
53 cd ${D}/sbin
54 rm rdump
55 ln -s dump rdump
56 rm rrestore
57 ln -s restore rrestore
58
59 }
60

  ViewVC Help
Powered by ViewVC 1.1.20