summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Weiler <pylon@gentoo.org>2005-03-30 02:24:38 +0000
committerLars Weiler <pylon@gentoo.org>2005-03-30 02:24:38 +0000
commit9a924b1dc2ac26d1dc3e7ee21a88192aa58082f8 (patch)
treeaee700f1ba7fd241c7e1d5de4dc45d4033f89d5b /app-cdr/dvdrtools/dvdrtools-0.2.1.ebuild
parentbug 83840 (diff)
downloadgentoo-2-9a924b1dc2ac26d1dc3e7ee21a88192aa58082f8.tar.gz
gentoo-2-9a924b1dc2ac26d1dc3e7ee21a88192aa58082f8.tar.bz2
gentoo-2-9a924b1dc2ac26d1dc3e7ee21a88192aa58082f8.zip
Version bump; bug #81458. Dropped ppc64 due to unmatched transcode dependency.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-cdr/dvdrtools/dvdrtools-0.2.1.ebuild')
-rw-r--r--app-cdr/dvdrtools/dvdrtools-0.2.1.ebuild66
1 files changed, 66 insertions, 0 deletions
diff --git a/app-cdr/dvdrtools/dvdrtools-0.2.1.ebuild b/app-cdr/dvdrtools/dvdrtools-0.2.1.ebuild
new file mode 100644
index 000000000000..6c1567cd3786
--- /dev/null
+++ b/app-cdr/dvdrtools/dvdrtools-0.2.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdrtools/dvdrtools-0.2.1.ebuild,v 1.1 2005/03/30 02:24:38 pylon Exp $
+
+inherit eutils gcc gnuconfig
+
+DESCRIPTION="A fork of cdrtools, including DVD support."
+HOMEPAGE="http://www.nongnu.org/dvdrtools/"
+SRC_URI="http://savannah.nongnu.org/download/dvdrtools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+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}
+ 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 rscsi/rscsi.dfl ${D}/etc/default/rscsi
+ install cdrecord/cdrecord.dfl ${D}/etc/cdrecord.conf
+
+ cd ${S}
+ dolib.a {libdeflt,libfile,libhfs_iso,librscg,libscg,libschily,libunls}/*.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
+}