Files
efikamx/sys-libs/imx-lib/imx-lib-10.08.01.ebuild
Steev Klimaszewski 38b624d7b0 Bump a lot of stuff for 10.08.01. These are bumps, they are untested,
however the files are all posted to ubersekret.com, so easily
accessible.  Still need to fix different licensing issues in the
ebuilds, as well as test them.
2010-10-12 11:01:33 -05:00

33 lines
786 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit toolchain-funcs
DESCRIPTION="IMX{31,51} System library"
HOMEPAGE=""
SRC_URI="http://ubersekret.com/distfiles/${P}.tar.gz"
LICENSE="Freescale GPL-2"
SLOT="0"
KEYWORDS="~arm"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_compile() {
emake -j1 CC=$(tc-getCC) CXX=$(tc-getCXX) \
INCLUDE="-I${ROOT}/usr/src/linux/include \
-I${ROOT}/usr/src/linux/drivers/mxc/security/rng/include \
-I${ROOT}/usr/src/linux/drivers/mxc/security/sahara2/include" \
PLATFORM="IMX51" all || die "emake failed."
}
src_install() {
# Their Makefile doesn't support DESTDIR, they call it DEST_DIR.
emake DEST_DIR="${D}" install || die "emake install failed."
}