diff options
author | Michał Górny <mgorny@gentoo.org> | 2010-07-05 17:53:35 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2010-07-05 17:53:35 +0000 |
commit | 4a19e9f4262cdbfc35a06ef9674a85f0c0568405 (patch) | |
tree | 975a343c05f21437d90887e79cd9ce8bd55a3e12 /dev-libs/libnds/libnds-1.4.3.ebuild | |
parent | dev-util/devkitarm-bin: Version bump, cleanup. (diff) | |
download | sunrise-4a19e9f4262cdbfc35a06ef9674a85f0c0568405.tar.gz sunrise-4a19e9f4262cdbfc35a06ef9674a85f0c0568405.tar.bz2 sunrise-4a19e9f4262cdbfc35a06ef9674a85f0c0568405.zip |
dev-libs/libnds: Version bump, minor cleanup.
svn path=/sunrise/; revision=10910
Diffstat (limited to 'dev-libs/libnds/libnds-1.4.3.ebuild')
-rw-r--r-- | dev-libs/libnds/libnds-1.4.3.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/libnds/libnds-1.4.3.ebuild b/dev-libs/libnds/libnds-1.4.3.ebuild new file mode 100644 index 000000000..9c462e2af --- /dev/null +++ b/dev-libs/libnds/libnds-1.4.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Nintendo DS Libraries for devkitPro ARM" +HOMEPAGE="http://devkitpro.org/" +SRC_URI="mirror://sourceforge/devkitpro/${PN}-src-${PV}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-util/devkitarm-bin" +RDEPEND=${DEPEND} + +S=${WORKDIR} +RESTRICT="strip" + +src_compile() { + export DEVKITPRO=/opt/devkitpro + export DEVKITARM=${DEVKITPRO}/devkitARM + + local PATH=${PATH}:${DEVKITARM}/bin + emake -j1 || die "make failed" +} + +src_install() { + insinto "${DEVKITPRO}"/libnds + into "${DEVKITPRO}"/libnds + + # libs installation + dolib.a lib/*.a || die "lib.a files installation failed" + + # headers installation + doins -r include/ || die "include files installation failed" +} |