summaryrefslogtreecommitdiff
path: root/recipes/libcroco.recipe
blob: 9494dac4c75547dec01c8d320bb5168a3c0172ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'libcroco'
    version = '0.6.13'
    licenses = [License.LGPLv2_1Plus]
    stype = SourceType.TARBALL
    url = 'gnome://'
    tarball_checksum = '767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4'
    deps = ['libxml2', 'glib', 'gdk-pixbuf']

    files_libs = ['libcroco-0.6']
    files_bins = ['csslint-0.6']
    files_devel = ['include/libcroco-0.6/libcroco',
                   '%(libdir)s/pkgconfig/libcroco-0.6.pc']

    def prepare(self):
        if self.config.target_platform in [Platform.DARWIN, Platform.IOS]:
            self.configure_options += ' --disable-Bsymbolic'
        if self.config.platform != Platform.WINDOWS:
            self.autoreconf = True