diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2014-01-03 17:14:54 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2014-01-03 17:14:54 +0000 |
commit | 7534a9afd024056e64b1439549abffe92d71ab4d (patch) | |
tree | 5627fa098c795d6f95b3911bedafb0aecf5d2f28 /dev-util/android-ndk | |
parent | clarify static-libs description (diff) | |
download | gentoo-2-7534a9afd024056e64b1439549abffe92d71ab4d.tar.gz gentoo-2-7534a9afd024056e64b1439549abffe92d71ab4d.tar.bz2 gentoo-2-7534a9afd024056e64b1439549abffe92d71ab4d.zip |
Version bump proxy commited for Jauhien Piatlicki <piatlicki@gmail.com>
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)
Diffstat (limited to 'dev-util/android-ndk')
-rw-r--r-- | dev-util/android-ndk/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-9c.ebuild | 68 |
2 files changed, 75 insertions, 2 deletions
diff --git a/dev-util/android-ndk/ChangeLog b/dev-util/android-ndk/ChangeLog index 2baeb51e5efc..ab4475d5f12f 100644 --- a/dev-util/android-ndk/ChangeLog +++ b/dev-util/android-ndk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/android-ndk -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/ChangeLog,v 1.10 2013/11/01 16:20:53 cardoe Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/ChangeLog,v 1.11 2014/01/03 17:14:54 cardoe Exp $ + +*android-ndk-9c (03 Jan 2014) + + 03 Jan 2014; Doug Goldstein <cardoe@gentoo.org> +android-ndk-9c.ebuild: + Version bump proxy commited for Jauhien Piatlicki <piatlicki@gmail.com> *android-ndk-9b (01 Nov 2013) diff --git a/dev-util/android-ndk/android-ndk-9c.ebuild b/dev-util/android-ndk/android-ndk-9c.ebuild new file mode 100644 index 000000000000..5f8454d5b246 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-9c.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/android-ndk-9c.ebuild,v 1.1 2014/01/03 17:14:54 cardoe Exp $ + +EAPI=5 + +MY_P="${PN}-r${PV}" + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86.tar.bz2 ) + amd64? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86_64.tar.bz2 )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror strip installsources test" + +DEPEND="" +RDEPEND=">=dev-util/android-sdk-update-manager-10 + >=sys-devel/make-3.81" + +S="${WORKDIR}/${MY_P}" + +ANDROID_NDK_DIR="opt/${PN}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + fowners -R root:android "/${ANDROID_NDK_DIR}" + fperms 0775 "/${ANDROID_NDK_DIR}/"{,build,docs,platforms,samples} + fperms 0775 "/${ANDROID_NDK_DIR}/"{sources,tests,toolchains} + + dodir "/${ANDROID_NDK_DIR}/out" + fowners root:android "/${ANDROID_NDK_DIR}/out" + fperms 3775 "/${ANDROID_NDK_DIR}/out" + + ANDROID_PREFIX="${EPREFIX}/${ANDROID_NDK_DIR}" + ANDROID_PATH="${EPREFIX}/${ANDROID_NDK_DIR}" + + for i in toolchains/*/prebuilt/linux-*/bin + do + ANDROID_PATH="${ANDROID_PATH}:${ANDROID_PREFIX}/${i}" + done + + printf '%s' \ + "PATH=\"${ANDROID_PATH}\"" \ + $'\n' \ + > "${T}/80${PN}" || die + + doenvd "${T}/80${PN}" + + echo "SEARCH_DIRS_MASK=\"${EPREFIX}/${ANDROID_NDK_DIR}\"" \ + > "${T}/80${PN}" || die + insinto "/etc/revdep-rebuild" + doins "${T}/80${PN}" +} |