# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/appinventor/appinventor-1.1.ebuild,v 1.1 2011/08/26 13:49:27 hwoarang Exp $ EAPI="4" MY_P="${PN}-setup_${PV}" DESCRIPTION="App Inventor Setup package" HOMEPAGE="http://appinventor.googlelabs.com" SRC_URI="http://dl.google.com/dl/${PN}/installers/linux/${MY_P}.tar.gz" LICENSE="android" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND=">=virtual/jre-1.6.0" APP_INSTALL_DIR="/opt/${PN}" S="${WORKDIR}/${MY_P}" QA_PREBUILT="/opt/appinventor/commands-for-Appinventor/adb /opt/appinventor/commands-for-Appinventor/emulator /opt/appinventor/commands-for-Appinventor/mksdcard" src_install() { insinto ${APP_INSTALL_DIR} dodir ${APP_INSTALL_DIR} doins -r "${PN}"/extras doins -r "${PN}"/from-Android-SDK exeinto "${APP_INSTALL_DIR}"/commands-for-Appinventor/ doexe "${PN}"/commands-for-Appinventor/* }