view gub/specs/freebsd-runtime.py @ 3497:b8a30307b108

more with_template() fixes.
author Han-Wen Nienhuys <hanwen@lilypond.org>
date Sat, 19 May 2007 01:24:04 -0300
parents d5dcea53e366
children cc5316337cba
line wrap: on
line source

from gub import gubb
from gub import mirrors

class Freebsd_runtime (gubb.BinarySpec, gubb.SdkBuildSpec):
    def __init__ (self, settings):
        gubb.BinarySpec.__init__ (self, settings)
        version = '4.10-2'
        if 0 and settings.target_architecture == 'i686-freebsd6':
            version = '6.1-RELEASE'
        self.with_template (version=version, strip_components=0, mirror=mirrors.lilypondorg)
    def untar (self):
        gubb.BinarySpec.untar (self)
    def patch (self):
        self.system ('rm -rf %(srcdir)s/usr/include/g++')