/[gentoo-x86]/app-cdr/cddump/cddump-0.7.ebuild
Gentoo

Contents of /app-cdr/cddump/cddump-0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Fri Sep 3 19:14:51 2004 UTC (13 years, 10 months ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED
unmaintained locally or upstream, and is package.masked.  Removing

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/cddump/cddump-0.7.ebuild,v 1.15 2004/06/24 21:31:21 agriffis Exp $
4
5 DESCRIPTION="cddump - backup to CD-Recordable and CD-Rewritable"
6 SRC_URI="http://www.joat.ca/software/${P}.tar.gz"
7 HOMEPAGE="http://www.joat.ca/software/cddump.html"
8 SLOT="0"
9 LICENSE="GPL-2"
10 DEPEND="app-cdr/cdrtools
11 dev-lang/perl"
12 IUSE=""
13 KEYWORDS="x86 ppc sparc"
14
15 src_unpack() {
16 unpack ${A}
17 cd ${S}
18
19 cat install.cddump | sed \
20 -e "/system/s:/usr/local/man/man8:${D}usr/man/man8:" > install.cddump.NEW
21 mv install.cddump.NEW install.cddump
22 }
23
24 src_compile() {
25 # These are appropriate defaults for my system (with an 8x
26 # writer). I don't know if these defaults will be appropriate for
27 # other systems.
28 ( echo /usr/bin/perl
29 echo /usr/bin/mkisofs
30 echo /usr/bin/cdrecord
31 echo /usr/bin/cpio
32 echo /dev/sg0
33 echo 8
34 echo .
35 echo y
36 ) | perl install.cddump
37 }
38
39 src_install() {
40 # Include the source in the documentation so that the user can be
41 # free to rerun the install.
42 dobin cddump
43 dodoc cddump.in CHANGELOG install.cddump LICENCE README TUTORIAL
44 doman cddump.8
45 }
46
47 pkg_postinst() {
48 echo
49 einfo "Cddump has been configured for an 8x writer at /dev/sg0."
50 einfo "To reconfigure, please run \"perl /usr/share/doc/${P}/cddump.in\""
51 echo
52 }

  ViewVC Help
Powered by ViewVC 1.1.20