Mercurial > gub
view gub/specs/libglade.py @ 6487:9bf9726dad38
schikkers-list: install updates.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 03 Feb 2011 23:57:59 +0100 |
parents | 8080608a8ab3 |
children |
line wrap: on
line source
from gub import target class Libglade (target.AutoBuild): source = 'http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/libglade-2.6.4.tar.gz' # patches = [ # 'libglade-cross.patch', # ] # force_autoupdate = True # def aclocal_path (self): # return (target.AutoBuild.aclocal_path (self) # + ['%(srcdir)s/m4', '%(srcdir)s']) def autoupdate (self): target.AutoBuild.autoupdate (self) # pkg-config is such a brilliant tool, why do these auto* # people break its cross compiling features? self.file_sub ([(r'(^\s*)PKG_CONFIG=', r'\1XPKG_CONFIG=')], '%(srcdir)s/configure') dependencies = [ 'atk', 'gtk+', 'libxml2', ] class Libglade__mingw (Libglade): def compile (self): self.system ('cd %(builddir)s && cp -pv %(srcdir)s/glade/glade.def glade') Libglade.compile (self)