##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors::   Fotis Georgatos <fotis@cern.ch>
# License::   MIT/GPL
# $Id$
##

easyblock = 'ConfigureMake'

name = 'a2ps'
version = '4.14'

homepage = 'http://www-inf.enst.fr/~demaille/a2ps/'
description = """a2ps-4.14: Formats an ascii file for printing on a postscript printer"""

toolchain = {'version': '4.0.6', 'name': 'ictce'}

sources = [SOURCE_TAR_GZ]
source_urls = [GNU_SOURCE]

dependencies = [
    ('gettext', '0.18.2'),
    ('gperf', '3.0.4'),
]

preconfigopts = 'env EMACS=no'
configopts = '--with-gnu-gettext'

sanity_check_paths = {
    'files': ['bin/a2ps'],
    'dirs': [],
}

moduleclass = 'tools'
