blob: 9f5994dd6a31568915e92b2b77ae71af5abec485 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/xdvdfs-tools/xdvdfs-tools-1.0.ebuild,v 1.3 2004/07/11 16:10:16 kloeri Exp $
DESCRIPTION="Tools for manipulating Xbox ISO images"
HOMEPAGE="http://xbox-scene.org"
# the filename actually has a space in it, so either get this from the gentoo mirror,
# or get it manually
SRC_URI="http://dwl.xbox-scene.com/~xbox/xbox-scene/tools/isotools/XDVDFS_Tools.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~x86 ~ppc"
DEPEND=""
S=${WORKDIR}/"XDVDFS_Tools/src"
src_unpack() {
unpack ${A}
mv "XDVDFS Tools" XDVDFS_Tools
sed -i -e "s:CCFLAGS = .*:CCFLAGS = ${CFLAGS}:g" "${S}"/makefile.prefab
}
src_compile() {
cd xdvdfs_dumper
emake || die
cd ../xdvdfs_extract
emake || die
cd ../xdvdfs_maker
emake || die
}
src_install() {
dobin ${S}/xdvdfs_dumper/output/xdvdfs_dumper
dobin ${S}/xdvdfs_extract/output/xdvdfs_extract
dobin ${S}/xdvdfs_maker/output/xdvdfs_maker
dodoc ${S}/../documentation.pdf
}
|