view gub/specs/w32api.py @ 6482:beb7a91631b5

typo.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 03 Feb 2011 20:32:23 +0100
parents c9f348420ef1
children 3553d0ab3a25
line wrap: on
line source

from gub import build

class W32api (build.BinaryBuild, build.SdkBuild):
    source = 'http://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-3.17/w32api-3.17-2-mingw32-dev.tar.lzma&strip=0'
    dependencies = [ 'tools::xzutils' ]
    def install (self):
        self.system ('''
cd  %(srcdir)s/ && mkdir usr && mv include lib usr/
''')
        self.file_sub ([('[}] DATADIR;', '}, MINGW_DATADIR;')],
                       '%(install_prefix)s/include/objidl.h')