summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2006-02-20 23:16:11 +0000
committerLuis Medinas <metalgod@gentoo.org>2006-02-20 23:16:11 +0000
commitd9a48bb069782975583ca2933bb3a52c0757c9b2 (patch)
tree25f7918ead46250e1037b566f24681da5155e997 /app-cdr/dvdrtools/dvdrtools-0.3.0-r1.ebuild
parentfixing depend (diff)
downloadgentoo-2-d9a48bb069782975583ca2933bb3a52c0757c9b2.tar.gz
gentoo-2-d9a48bb069782975583ca2933bb3a52c0757c9b2.tar.bz2
gentoo-2-d9a48bb069782975583ca2933bb3a52c0757c9b2.zip
Fix paths. Closes bug #123545.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'app-cdr/dvdrtools/dvdrtools-0.3.0-r1.ebuild')
-rw-r--r--app-cdr/dvdrtools/dvdrtools-0.3.0-r1.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/app-cdr/dvdrtools/dvdrtools-0.3.0-r1.ebuild b/app-cdr/dvdrtools/dvdrtools-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..f78e8001eb98
--- /dev/null
+++ b/app-cdr/dvdrtools/dvdrtools-0.3.0-r1.ebuild
@@ -0,0 +1,68 @@
+# 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.0-r1.ebuild,v 1.1 2006/02/20 23:16:10 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="~x86 ~ppc ~amd64"
+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"
+
+ #dobin cdda2wav/cdda2wav
+ #dobin cdrecord/dvdrecord
+ #dobin mkisofs/mkisofs
+ #dobin readcd/readcd
+ dosym /usr/bin/dvdrecord /usr/bin/cdrecord
+
+ #cd mkisofs/diag
+ #dobin devdump isodump isoinfo isovfy
+
+ 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
+
+ #cd ${S}/doc
+ #docinto print
+ #dodoc *.ps
+}