Mercurial > gub
view gub/specs/libgd.py @ 6487:9bf9726dad38
schikkers-list: install updates.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 03 Feb 2011 23:57:59 +0100 |
parents | a595a852a63d |
children |
line wrap: on
line source
from gub import misc from gub import target from gub import tools class Libgd (target.AutoBuild): source = 'http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz' dependencies = [ 'tools::libtool', 'fontconfig', 'freetype', 'libjpeg', 'libpng', 'zlib', ] configure_flags = (target.AutoBuild.configure_flags + ' --with-fontconfig' + ' --with-freetype' + ' --with-jpeg' + ' --with-png' + ' --without-xpm' + ' --x-includes=' + ' --x-libraries=' ) if 'stat' in misc.librestrict (): def LD_PRELOAD (self): return '%(tools_prefix)s/lib/librestrict-open.so' class Libgd__tools (tools.AutoBuild, Libgd): dependencies = [ 'fontconfig', 'freetype', 'libjpeg', 'libpng', 'libtool', 'zlib', ] configure_flags = (tools.AutoBuild.configure_flags + ' --with-fontconfig' + ' --with-freetype' + ' --with-jpeg' + ' --with-png' + ' --without-xpm' )