blob: fb586f2ac475898ed691aea45d39e7e950802f34 (
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
41
42
43
44
45
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/quik-2.1.6.ebuild,v 1.1 2005/05/26 15:15:26 josejx Exp $
inherit toolchain-funcs mount-boot eutils
MY_PV=${PV%.*}-${PV#*.*.}
HOMEPAGE="http://penguinppc.org/bootloaders/quik/"
DESCRIPTION="OldWorld PowerMac Bootloader"
SRC_URI="http://www.shiner.info/files/Yellow%20Dog%20Linux%204/quik/quik-${MY_PV}.ydl4.src.rpm"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="-* ~ppc"
IUSE=""
DEPEND="virtual/libc
app-arch/rpm2targz"
PROVIDE="virtual/bootloader"
S="${WORKDIR}/"
src_unpack() {
cd ${WORKDIR}
rpm2targz ${DISTDIR}/quik-${MY_PV}.ydl4.src.rpm
tar -xzf ${WORKDIR}/quik-${MY_PV}.ydl4.src.tar.gz || die
tar -xzf ${WORKDIR}/quik_2.1.orig.tar.gz
cd ${WORKDIR}/quik-2.1
epatch ${WORKDIR}/quik_2.1-6.diff.gz
epatch ${FILESDIR}/md-fix.diff
}
src_compile() {
cd ${WORKDIR}/quik-2.1
emake || die
}
src_install() {
cd ${WORKDIR}/quik-2.1
DESTDIR=${D} make install
prepman /usr
}
|