# This file is an EasyBuild recipy as per https://github.com/hpcugent/easybuild
#
# It has been automatically produced by /home/users/fgeorgatos/arena/pkg2eb/pkg2eb_v4.sh ;
# ie. there is no warranty, provided AS-IS, the known yada yada, etc
#  
#  #######                     ######                                    ### 
#  #         ##    ####  #   # #     # #    # # #      #####     # ##### ### 
#  #        #  #  #       # #  #     # #    # # #      #    #    #   #   ### 
#  #####   #    #  ####    #   ######  #    # # #      #    #    #   #    #  
#  #       ######      #   #   #     # #    # # #      #    #    #   #       
#  #       #    # #    #   #   #     # #    # # #      #    #    #   #   ### 
#  ####### #    #  ####    #   ######   ####  # ###### #####     #   #   ###
#  
# Copyright:: Copyright (c) 2012 University of Luxembourg / LCSB
# Author::    Fotis Georgatos <fotis.georgatos@uni.lu>
# License::   MIT/GPL
#
# File::      install_flash_player_9.eb
# Date::      Wed Dec 26 17:08:47 CET 2012

# The following values are best-guess, which may have to be further overriden on
name = 'ns-flash-'
version = 'install_flash_player_9'
versionsuffix = '-20121226'

description = "install_flash_player_9: MacroMedia Flash Player Netscape plugin"

# The following are automatically calculated - cross fingers
source_urls = ['http://download.macromedia.com/pub/flashplayer/installers/current/9/']
homepage = 'http://www.flash.com/'
sources = ['install_flash_player_7_${DISTUNAME}_sparc.tar.gz']
sources = ['install_flash_player_9.tar.gz']
version = 'flash-${FLASH_VERS:S/r/./}'
name = 'ns'

toolchain = {'name': 'goalf', 'version': '1.1.0-no-OFED'}

sanity_check_paths = {
                      'files': [],
                      'dirs': ['.'] # fixme when the compilation is successful
                     }

parallel = 1 	# this is a conservative choice
maxparallel = 1 # this is a conservative choice

moduleclass = 'base'

###### The appended information is simply the pkgsrc sourcefile: /home/users/fgeorgatos/arena/pkg2eb/pkgsrc/multimedia/ns-flash/Makefile ######
# # $NetBSD: Makefile,v 1.36 2010/11/18 13:38:19 wiz Exp $
# 
# CATEGORIES=		multimedia www
# MASTER_SITES=		http://download.macromedia.com/pub/flashplayer/installers/current/9/
# 
# MAINTAINER=		pkgsrc-users@NetBSD.org
# HOMEPAGE=		http://www.flash.com/
# COMMENT=		MacroMedia Flash Player Netscape plugin
# LICENSE=		flash-license
# 
# RESTRICTED=		Redistribution not permitted
# NO_SRC_ON_FTP=		${RESTRICTED}
# NO_SRC_ON_CDROM=	${RESTRICTED}
# NO_BIN_ON_FTP=		${RESTRICTED}
# NO_BIN_ON_CDROM=	${RESTRICTED}
# 
# # Must update communicator/navigator to at least 4.76nb1
# CONFLICTS+=		communicator<=4.76nb1
# CONFLICTS+=		navigator<=4.76nb1
# 
# CONFLICTS+=		adobe-flash-plugin-[0-9]*
# 
# PKG_DESTDIR_SUPPORT=	user-destdir
# 
# BUILD_DIRS=		# empty
# DIST_SUBDIR=		flash/${FLASH_VERS}
# 
# CRYPTO=			yes
# 
# EMUL_PLATFORMS=		linux-i386
# EMUL_PLATFORMS+=	solaris-sparc
# EMUL_MODULES.linux=	compat gtk2 x11
# EMUL_REQD=		suse>=9.0
# 
# .include "../../mk/bsd.prefs.mk"
# 
# .if ${EMUL_PLATFORM} == "solaris-sparc"
# FLASH_VERS=		7.0r67
# PKGREVISION=		2
# DISTUNAME=		solaris
# DISTNAME=		install_flash_player_7_${DISTUNAME}_sparc
# WRKNAME=		install_flash_player_7_${DISTUNAME}
# WRKSRC=			${WRKDIR}/${WRKNAME}
# .else  # if ${EMUL_PLATFORM} == "linux-i386"
# # Defaults so lintpkgsrc is happy
# FLASH_VERS=		9.0r289
# DISTUNAME=		linux
# DISTNAME=		install_flash_player_9
# WRKNAME=		install_flash_player_9_${DISTUNAME}
# WRKSRC=			${WRKDIR}
# .endif
# 
# PKGNAME=		ns-flash-${FLASH_VERS:S/r/./}
# 
# NS_PLUGINS_DIR=		${PREFIX}/lib/netscape/plugins
# 
# .include "options.mk"
# 
# do-install:
# 	${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
# 	${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${DESTDIR}${NS_PLUGINS_DIR}
# 
# .include "../../mk/bsd.pkg.mk"
