summaryrefslogtreecommitdiff
blob: 7fcc1e025c109b38e56effdf5f52f99682742f04 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/hdl_dump/hdl_dump-0.8.3.20051208.ebuild,v 1.1 2006/03/27 22:21:14 tupone Exp $

inherit versionator

MY_PV=$(replace_version_separator 3 '-')

DESCRIPTION="game installer for playstation 2 HD Loader"
HOMEPAGE="http://hdldump.ps2-scene.org/"
SRC_URI="http://hdldump.ps2-scene.org/hdl_dumx-${MY_PV}-src.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""

S=${WORKDIR}/${PN}

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i \
		-e "/^CFLAGS /s:$: ${CFLAGS}:" \
		Makefile || die "sed cflags"
}

src_install() {
	dobin hdl_dump || die
	dodoc AUTHORS CHANGELOG test.sh
}