Mercurial > gub
view gub/specs/libx11.py @ 6487:9bf9726dad38
schikkers-list: install updates.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 03 Feb 2011 23:57:59 +0100 |
parents | c3f43da16d10 |
children |
line wrap: on
line source
from gub import target class Libx11 (target.AutoBuild): source = 'http://xorg.freedesktop.org/releases/X11R7.4/src/lib/libX11-1.1.5.tar.gz' dependencies = ['tools::pkg-config', 'libtool', 'inputproto-devel', 'kbproto-devel', 'libxcb-devel', 'xextproto-devel', 'xproto-devel', 'xtrans-devel'] configure_flags = (target.AutoBuild.configure_flags + ' --disable-xf86bigfont' + ' --disable-malloc0returnsnull') def patch (self): self.file_sub ([('pkg-config', '$PKG_CONFIG')], '%(srcdir)s/configure') def compile (self): self.system ('cd %(builddir)s && make -C src/util makekeys CC=gcc CFLAGS= makekeys_CFLAGS= LDFLAGS=') target.AutoBuild.compile (self)