diff options
Diffstat (limited to 'dev-libs/libnds/libnds-20071023.ebuild')
-rw-r--r-- | dev-libs/libnds/libnds-20071023.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/libnds/libnds-20071023.ebuild b/dev-libs/libnds/libnds-20071023.ebuild new file mode 100644 index 000000000..cd315d3a7 --- /dev/null +++ b/dev-libs/libnds/libnds-20071023.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 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/libnds-src-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-util/devkitarm-bin-21" +RDEPEND=${DEPEND} + +S=${WORKDIR} +RESTRICT="strip" + +DEVKITPRO=/opt/devkitpro + +src_compile() { + local DEVKITARM=${DEVKITPRO}/devkitARM + local PATH=${PATH}:"${DEVKITARM}/bin" + emake -j1 || die "make failed" +} + +src_install() { + local INSTDIR=${DEVKITPRO}/libnds + + # libs installation + insinto "${INSTDIR}"/lib + doins lib/*.a + + # headers installation + insinto "${INSTDIR}" + doins -r include/ + + # license installation + insinto "${INSTDIR}" + doins "libnds_license.txt" +} + |