# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'gtk-doc' version = '1.18' # TODO: check license - source files are GPLv2+ and COPYING is GPLv3 licenses = [License.GPLv2Plus] deps = ['libxslt'] platform_deps = {Platform.WINDOWS: ['docbook-xsl', 'docbook-xml'], Platform.DARWIN: ['docbook-xsl', 'docbook-xml']} def prepare(self): if self.config.target_platform in [Platform.WINDOWS, Platform.DARWIN]: self.configure_options = '--with-xml-catalog=%s/etc/catalog.xml' % self.config.prefix