/[gentoo-x86]/app-arch/flexbackup/flexbackup-1.1.6.ebuild
Gentoo

Contents of /app-arch/flexbackup/flexbackup-1.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jun 24 22:31:46 2003 UTC (11 years, 1 month ago) by mholzer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
cleanup

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License
3 # $Header: /home/cvsroot/gentoo-x86/app-arch/flexbackup/flexbackup-1.1.6.ebuild,v 1.1 2003/04/16 12:25:49 mholzer Exp $
4
5 inherit eutils
6
7 S="${WORKDIR}/${P}"
8 DESCRIPTION="Flexible backup script using perl"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10 HOMEPAGE="http://flexbackup.sourceforge.net/"
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86"
14 DEPEND="virtual/glibc"
15 RDEPEND="app-arch/afio
16 app-arch/mt-st
17 app-arch/dump
18 sys-apps/findutils
19 dev-lang/perl"
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 }
25
26 src_compile() {
27 epatch ${FILESDIR}/Makefile-gentoo.diff
28 # emake (previously known as pmake) is a script that calls the
29 # standard GNU make with parallel building options for speedier
30 # builds (especially on SMP systems). Try emake first. It might
31 # not work for some packages, in which case you'll have to resort
32 # to normal "make".
33 emake || die
34 #make || die
35 }
36
37 src_install() {
38 dodir /etc
39 dodir /usr/bin
40 make DESTDIR=${D} install || die
41 dodoc CHANGES COPYING CREDITS FAQ INSTALL README TODO
42 }
43
44 pkg_postinst() {
45 einfo ""
46 einfo "now edit your /etc/${PN}.conf"
47 einfo "if you are using devfs, the tape device"
48 einfo "should be set to /dev/tapes/tape0/mtn"
49 einfo ""
50 }

  ViewVC Help
Powered by ViewVC 1.1.20