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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (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.2: +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.24.ebuild,v 1.2 2001/11/10 02:33:03 hallski Exp $
5
6 P=dump-0.4b24
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 >=sys-kernel/linux-headers-2.4.10"
15
16 RDEPEND=">=sys-apps/e2fsprogs-1.19
17 readline? ( >=sys-libs/readline-4.1-r2 >=sys-libs/ncurses-5.2 )
18 sys-apps/star"
19
20 src_compile() {
21 local myconf
22 if use readline; then
23 myconf=--enable-readline
24 ln -s /lib/libncurses.so libtermcap.so
25 export LDFLAGS="-L${S}"
26 export CFLAGS="$CFLAGS -L${S}"
27 fi
28
29 ./configure --prefix=/usr --host=${CHOST} --enable-largefile ${myconf}
30 assert "./configure failed (myconf=$myconf)"
31
32 emake
33 assert "emake failed (myconf=$myconf)"
34 }
35
36 src_install () {
37 dodir /sbin
38 dodir /usr/share/man/man8
39 dodir /etc/dumpdates
40 make BINDIR=${D}/sbin MANDIR=${D}/usr/share/man/man8 \
41 DUMPDATESPATH=${D}/etc/dumpdates install || die "make install failed"
42
43 dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS
44 dodoc README REPORTING-BUGS THANKS TODO
45
46 cd ${D}/sbin
47 rm -f rdump rrestore
48 ln -s dump rdump
49 ln -s restore rrestore
50 }

  ViewVC Help
Powered by ViewVC 1.1.20