# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils multilib DESCRIPTION="Adobe AIR is a platform which brings web applications to the desktop." SRC_URI="http://mirror.dun.nu/packages/${P}.tar.gz" HOMEPAGE="http://labs.adobe.com/technologies/air/" RESTRICT="strip" KEYWORDS="-* ~amd64 ~x86" SLOT="0" LICENSE="Adobe" IUSE="" DEPEND="" RDEPEND=" net-www/netscape-flash x86? ( =virtual/libstdc++-3.3 ) amd64? ( >=app-emulation/emul-linux-x86-baselibs-1.0 >=app-emulation/emul-linux-x86-gtklibs-1.0 app-emulation/emul-linux-x86-compat net-www/nspluginwrapper )" S="${WORKDIR}" pkg_setup() { # This is a binary x86 package => ABI=x86 # Please keep this in future versions has_multilib_profile && ABI="x86" } src_install() { mv "${S}"/* "${D}"/ } pkg_postinst() { use amd64 && einfo "NB: You just installed a 32-bit adobe-air" }