# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ # This ebuild come from http://bugs.gentoo.org/show_bug.cgi?id=210432 - Zugaina.org only host a copy. MY_PV="m${PV}" MY_PV=${MY_PV/_/-} DESCRIPTION="Open Handset Alliance's Android SDK" HOMEPAGE="http://code.google.com/android" SRC_URI="http://dl.google.com/android/${PN}_${MY_PV}_linux-x86.zip" LICENSE="android" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="doc" DEPEND="app-arch/unzip" RDEPEND=">=virtual/jdk-1.5 >=dev-java/ant-1.6.5" src_install(){ dodir /opt/${PN} cd "${PN}_${MY_PV}_linux-x86" cp -pPR tools samples android.jar "${D}/opt/${PN}/" || die "failed to copy" dodoc LICENSE RELEASE_NOTES.txt || die use doc && dohtml -r docs documentation.html echo "PATH='/opt/${PN}/tools'" > ${T}/80android doenvd ${T}/80android }