/[gentoo-x86]/sys-fs/udftools/udftools-1.0.0b-r9.ebuild
Gentoo

Contents of /sys-fs/udftools/udftools-1.0.0b-r9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue May 12 05:00:24 2015 UTC (11 days, 2 hours ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +5 -3 lines
Force older C standard to fix building w/gcc-5 #548324 by Martin Väth.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/udftools/udftools-1.0.0b-r9.ebuild,v 1.8 2013/02/18 22:42:11 zmedico Exp $
4
5 EAPI="2"
6
7 inherit eutils flag-o-matic
8
9 MY_P=${P}3
10
11 DESCRIPTION="Ben Fennema's tools for packet writing and the UDF filesystem"
12 HOMEPAGE="http://sourceforge.net/projects/linux-udf/"
13 SRC_URI="mirror://sourceforge/linux-udf/${MY_P}.tar.gz
14 http://w1.894.telia.com/~u89404340/patches/packet/${MY_P}.patch.bz2"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 ~ppc sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
19 IUSE=""
20
21 RDEPEND="sys-libs/readline"
22 DEPEND="${RDEPEND}"
23
24 S=${WORKDIR}/${MY_P}
25
26 src_prepare() {
27 # For new kernel packet writing driver
28 epatch "${WORKDIR}"/${MY_P}.patch
29 epatch "${FILESDIR}"/cdrwtool-linux2.6-fix-v2.patch
30 epatch "${FILESDIR}"/${P}-gcc4.patch #112122
31 epatch "${FILESDIR}"/${P}-bigendian.patch #120245
32 epatch "${FILESDIR}"/${P}-openflags.patch #232100
33 epatch "${FILESDIR}"/${P}-limits_h.patch
34 # Force older C standard as the code relies on static inline behavior. #548324
35 append-flags -std=gnu89
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" install || die
40 dodoc ChangeLog
41 newinitd "${FILESDIR}"/pktcdvd.init pktcdvd
42 dosym /usr/bin/udffsck /usr/sbin/fsck.udf
43 }

  ViewVC Help
Powered by ViewVC 1.1.20