blob: 14f8024c61dd223a8ee2eb243e6174b53930a6ff (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdrtools/dvdrtools-0.3.1.ebuild,v 1.1 2006/03/25 18:17:30 metalgod Exp $
inherit eutils gnuconfig
DESCRIPTION="A fork of cdrtools, including DVD support."
HOMEPAGE="http://www.arklinux.org/projects/dvdrtools"
SRC_URI="http://www.arklinux.org/download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="encode"
DEPEND="virtual/libc
!app-cdr/cdrtools"
RDEPEND="encode? ( media-video/transcode )"
PROVIDE="virtual/cdrtools"
src_unpack() {
unpack ${A}
cd ${S}/librscg
sed -i -e "s:/opt/schily:/usr:g" scsi-remote.c
}
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
cd ${S}
make DESTDIR=${D} install || die "make install failed"
dosym /usr/bin/dvdrecord /usr/bin/cdrecord
cd ${S}
insinto /etc/default
install dvdrecord/cdrecord.dfl ${D}/etc/cdrecord.conf
cd ${S}
dolib.a {libdeflt,librscg,libscg,libschily}/*.a
cd ${S}
insinto /usr/include/scsilib
doins include/*.h
insinto /usr/include/scsilib/scg
doins libscg/scg/*.h
cd ${S}
dodoc COPYING AUTHORS ChangeLog NEWS README
doman */*.1
doman */*.8
}
|