View | Details | Raw Unified
Collapse All | Expand All

(-) netscape-flash-9.0.48.0-orig.ebuild (-35 / +3 lines)
 Lines 2-22    Link Here 
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-9.0.48.0.ebuild,v 1.2 2007/07/14 17:03:28 tester Exp $
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-9.0.48.0.ebuild,v 1.2 2007/07/14 17:03:28 tester Exp $
inherit nsplugins
inherit nsplugins rpm
MY_P="install_flash_player_9_linux"
MY_PD="flash_player_9_linux_dev"
DESCRIPTION="Adobe Flash Player"
DESCRIPTION="Adobe Flash Player"
SRC_URI="!debug? ( http://fpdownload.macromedia.com/get/flashplayer/current/${MY_P}.tar.gz )
SRC_URI="http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-${PV}-release.i386.rpm"
	http://fpdownload.macromedia.com/pub/flashplayer/updaters/9/${MY_PD}.tar.gz"
HOMEPAGE="http://www.adobe.com/"
HOMEPAGE="http://www.adobe.com/"
IUSE="debug"
IUSE="debug"
SLOT="0"
SLOT="0"
KEYWORDS="-* amd64 x86"
KEYWORDS="-* amd64 x86"
LICENSE="AdobeFlash-9.0.31.0"
LICENSE="AdobeFlash-9.0.31.0"
S=${WORKDIR}/install_flash_player_9_linux
RESTRICT="strip mirror"
RESTRICT="strip mirror"
S=${WORKDIR}
S=${WORKDIR}
 Lines 40-75    Link Here 
	has_multilib_profile && ABI="x86"
	has_multilib_profile && ABI="x86"
}
}
src_unpack() {
	unpack ${A}
	cd ${S}
	if use debug; then
		unpack ./${MY_PD}/plugin/debugger/${MY_P}.tar.gz
		unpack ./${MY_PD}/standalone/debugger/flashplayer.tar.gz
	else
		unpack ./${MY_PD}/standalone/release/flashplayer.tar.gz
	fi
}
src_install() {
src_install() {
	dobin flashplayer
	cd ${S}/usr/lib/flash-plugin
	dodoc ${MY_PD}/README
	cd ${MY_P}
	exeinto /opt/netscape/plugins
	exeinto /opt/netscape/plugins
	doexe libflashplayer.so
	doexe libflashplayer.so
	insinto /opt/netscape/plugins
	doins flashplayer.xpt
	inst_plugin /opt/netscape/plugins/libflashplayer.so
	inst_plugin /opt/netscape/plugins/libflashplayer.so
	inst_plugin /opt/netscape/plugins/flashplayer.xpt
}
pkg_postinst() {
	if use debug ; then
		elog "You are installing content debugger version of the package."
		elog "This is NOT intended for normal use!"
	fi
}
}