blob: 3d9df4e458f32397440356ae2bd51993437b53ee (
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
|
# Copyright 2008-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev-wrappers/crossdev-wrappers-20090922.ebuild,v 1.1 2009/09/22 20:37:18 solar Exp $
inherit toolchain-funcs eutils
DESCRIPTION="emerge wrappers for crossdev"
HOMEPAGE="http://embedded.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~solar/embedded/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${PN}"
src_compile() {
emake PREFIX=/usr || die
}
src_install() {
emake PREFIX=/usr DESTDIR="${D}" install || die
}
pkg_postinst() {
einfo "Running emerge-wrapper --init"
emerge-wrapper --init
}
|