summaryrefslogtreecommitdiff
path: root/recipes/pycairo.recipe
blob: fb63c9b3b0db2ca0fb9064a514617c8420fbae26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.build.build import MakefilesBase

class Recipe(recipe.Recipe):
    name = 'pycairo'
    version = '1.10.0'
    # either LGPLv2.1 or MPLv1.1
    licenses = [License.LGPLv2_1]
    deps = ['cairo']

    files_python = [
        'site-packages/cairo/_cairo%(pext)s',
        'site-packages/cairo/__init__.py',
    ]
    files_devel = ['include/pycairo', 'lib/pkgconfig/pycairo.pc']

    config_sh = './waf configure'

    make = './waf build'
    make_install = './waf install'

    stype = SourceType.TARBALL
    url = "http://cairographics.org/releases/pycairo-%(version)s.tar.bz2"

    def configure(self):
        MakefilesBase.configure(self)