blob: 6c902256bf4453df9c0ca1dfecd8cb53eef86eb7 (
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
40
|
# Copyright 1999-2005 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.8 2005/04/21 17:57:45 blubb Exp $
DESCRIPTION="Tools for manipulating Xbox ISO images"
HOMEPAGE="http://xbox-scene.org/"
SRC_URI="http://dwl.xbox-scene.com/~xbox/xbox-scene/tools/isotools/XDVDFS_Tools.tar.bz2"
# the filename actually has a space in it, so either
# get this from the gentoo mirror, or get it manually
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
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 "xdvdfs_dumper"
cd ../xdvdfs_extract
emake || die "xdvdfs_extract"
cd ../xdvdfs_maker
emake || die "xdvdfs_maker"
}
src_install() {
dobin xdvdfs_dumper/output/xdvdfs_dumper || die "xdvdfs_dumper"
dobin xdvdfs_extract/output/xdvdfs_extract || die "xdvdfs_extract"
dobin xdvdfs_maker/output/xdvdfs_maker || die "xdvdfs_maker"
dodoc ../documentation.pdf
}
|