blob: 191e1def6d004cd3541fb255e1adbb7079968e99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cddump/cddump-0.7.ebuild,v 1.7 2002/08/14 09:26:13 pvdabeel Exp $
S=${WORKDIR}/${P}
DESCRIPTION="cddump - backup to CD-Recordable and CD-Rewritable"
SRC_URI="http://www.joat.ca/software/${P}.tar.gz"
HOMEPAGE="http://www.joat.ca/software/cddump.html"
SLOT="0"
LICENSE="GPL-2"
DEPEND="app-cdr/cdrtools
sys-devel/perl"
KEYWORDS="x86 ppc"
src_compile() {
# These are appropriate defaults for my system (with an 8x
# writer). I don't know if these defaults will be appropriate for
# other systems.
( echo /usr/bin/perl
echo /usr/bin/mkisofs
echo /usr/bin/cdrecord
echo /usr/bin/cpio
echo /dev/sg0
echo 8
echo .
echo y
) | perl install.cddump
}
src_install() {
# Include the source in the documentation so that the user can be
# free to rerun the install.
dobin cddump
dodoc cddump.in CHANGELOG install.cddump LICENCE README TUTORIAL
doman cddump.8
}
pkg_postinst() {
echo
einfo "Cddump has been configured for an 8x writer at /dev/sg0."
einfo "To reconfigure, please run \"perl /usr/share/doc/${P}/cddump.in\""
echo
}
|