##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors::   Fotis Georgatos <fotis@cern.ch>
# License::   MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a local_component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-90.html
##

easyblock = 'Binary'

name = 'bbcp'
version = '12.01.30.00.0'
versionsuffix = '-amd64_linux26'

homepage = 'http://www.slac.stanford.edu/~abh/bbcp/'
description = """BBCP is an alternative to Gridftp when transferring large amounts of data,
 capable of breaking up your transfer into multiple simultaneous transferring streams,
 thereby transferring data much faster than single-streaming utilities such as SCP and SFTP.
 See details at http://pcbunn.cithep.caltech.edu/bbcp/using_bbcp.htm
 or http://www.nics.tennessee.edu/local_computing-resources/data-transfer/bbcp"""

toolchain = SYSTEM

# fi. http://www.slac.stanford.edu/~abh/bbcp/bin/amd64_linux26/bbcp # VERY
# poor way of distributing software
sources = [name]
source_urls = [homepage + 'bin/%s' % versionsuffix]

sanity_check_paths = {
    'files': ['bbcp'],
    'dirs': []
}

moduleclass = 'tools'
