/[gentoo-x86]/app-cdr/xdvdfs-tools/xdvdfs-tools-2.1-r1.ebuild
Gentoo

Contents of /app-cdr/xdvdfs-tools/xdvdfs-tools-2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Nov 27 18:02:11 2008 UTC (5 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +14 -12 lines
Respect build settings #248714 by Diego E. Pettenò and touchup rar DEPEND #244989 by drantin.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27.4 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/xdvdfs-tools/xdvdfs-tools-2.1-r1.ebuild,v 1.2 2008/06/14 16:13:13 drac Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="Tools for manipulating Xbox ISO images"
8 HOMEPAGE="http://www.layouts.xbox-scene.com/"
9 SRC_URI="http://www.layouts.xbox-scene.com/main/files/XDVDFSToolsv${PV}.rar"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc x86"
14 IUSE=""
15
16 DEPEND="|| ( app-arch/unrar app-arch/rar )"
17 RDEPEND=""
18
19 S=${WORKDIR}/XDVDFS_Tools/src
20
21 src_unpack() {
22 unpack ${A}
23 mv "XDVDFS Tools" XDVDFS_Tools
24 sed -i \
25 -e '/^LDFLAGS = -s/d' \
26 -e '/^CCFLAGS =/s:=.*:= ${CFLAGS} ${CPPFLAGS}:g' \
27 -e "/^CC =/s:=.*:=$(tc-getCC):" \
28 "${S}"/makefile.prefab
29 epatch "${FILESDIR}"/${P}-fnamefix.patch
30 mkdir "${S}"/xdvdfs_extract/output "${S}"/xdvdfs_maker/output
31 }
32
33 src_compile() {
34 local d
35 for d in xdvdfs_{dumper,extract,maker} ; do
36 emake -C ${d} || die
37 done
38 }
39
40 src_install() {
41 dobin xdvdfs_dumper/output/xdvdfs_dumper || die "xdvdfs_dumper"
42 dobin xdvdfs_extract/output/xdvdfs_extract || die "xdvdfs_extract"
43 dobin xdvdfs_maker/output/xdvdfs_maker || die "xdvdfs_maker"
44 dohtml ../documentation/*.htm
45 dodoc ../Readme.txt
46 }

  ViewVC Help
Powered by ViewVC 1.1.20