blob: 5af996abee747f9ece216cf04e03b42e72facd23 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/dtc-1.0.0.ebuild,v 1.3 2008/01/08 01:06:37 ranger Exp $
inherit eutils
DESCRIPTION="Utility to pre-compile Open Firmware device-trees for otherwise device-tree-less devices such as the PS3"
HOMEPAGE="http://www.t2-project.org/packages/dtc.html"
SRC_URI="http://www.jdl.com/software/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc ppc64"
IUSE=""
S="${WORKDIR}/${PN}"
src_compile () {
emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
}
src_install () {
make DESTDIR="${D}" \
PREFIX="/usr" \
LIBDIR="/usr/$(get_libdir)" \
install
dodoc Documentation/manual.txt
}
|