# 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 }