/[gentoo-x86]/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild
Gentoo

Contents of /app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Tue Feb 19 02:56:52 2013 UTC (2 months, 4 weeks ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +3 -3 lines
Add ~arm-linux keyword.

(Portage version: 2.2.0_alpha163_p9/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild,v 1.12 2012/04/14 16:51:55 zmedico Exp $
4
5 EAPI=3
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="A set of tools for DVD+RW/-RW drives"
10 HOMEPAGE="http://fy.chalmers.se/~appro/linux/DVD+RW/"
11 SRC_URI="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
16 IUSE=""
17
18 RDEPEND="virtual/cdrtools"
19 DEPEND="${RDEPEND}
20 sys-devel/m4"
21
22 src_prepare() {
23 # Linux compiler flags only include -O2 and are incremental
24 sed -i '/FLAGS/s:-O2::' Makefile.m4
25
26 # Fix compilation when DFORTIFY_SOURCE=2
27 # https://bugs.gentoo.org/257360
28 # https://bugzilla.redhat.com/show_bug.cgi?id=426068
29 epatch "${FILESDIR}"/${PN}-7.0-wctomb.patch
30 epatch "${FILESDIR}"/${PN}-7.0-glibc2.6.90.patch
31 # Allow burning small images on dvd-dl media.
32 # Patch snatched from Fedora, obviously correct.
33 epatch "${FILESDIR}"/${PN}-7.0-dvddl.patch
34 # Exit with non-zero status when child process does.
35 # https://bugzilla.redhat.com/show_bug.cgi?id=243036
36 epatch "${FILESDIR}"/${PN}-7.0-wexit.patch
37 }
38
39 src_compile() {
40 emake SHELL="${EPREFIX}"/bin/bash CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
41 }
42
43 src_install() {
44 emake SHELL="${EPREFIX}"/bin/bash prefix="${ED}/usr" install || die
45 dohtml index.html
46 }
47
48 pkg_postinst() {
49 elog "When you run growisofs if you receive:"
50 elog "unable to anonymously mmap 33554432: Resource temporarily unavailable"
51 elog "error message please run 'ulimit -l unlimited'"
52 }

  ViewVC Help
Powered by ViewVC 1.1.13