Mercurial > gub
changeset 5535:05ce893b7f9f
libgd: new package.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 21 Aug 2009 14:25:54 +0200 |
parents | 0c0d7d8e05d6 |
children | 39a499efce6d |
files | gub/specs/libgd.py |
diffstat | 1 files changed, 27 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gub/specs/libgd.py Fri Aug 21 14:25:54 2009 +0200 @@ -0,0 +1,27 @@ +from gub import target +from gub import tools + +class Libgd (target.AutoBuild): + source = 'http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz' + def _get_build_dependencies (self): + return [ + 'tools::libtool', + 'libjpeg-devel' + ] + def configure_command (self): + return (target.AutoBuild.configure_command (self) + + ' --disable-xpm' + + ' --without-xpm' + ) + +class Libgd__tools (tools.AutoBuild, Libgd): + def _get_build_dependencies (self): + return [ + 'libtool', + 'libjpeg-devel', + ] + def configure_command (self): + return (tools.AutoBuild.configure_command (self) + + ' --disable-xpm' + + ' --without-xpm' + )