blob: 80a6016ae95348a889fb36470b7a78759aa5d283 (
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-20090616.ebuild,v 1.1 2009/06/16 20:47:20 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
}
|