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

class Recipe(recipe.Recipe):
    name = 'libcroco'
    version = '0.6.5'
    licenses = [License.LGPLv2_1]
    stype = SourceType.TARBALL
    url = 'http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/libcroco-0.6.5.tar.xz'

    files_libs = ['libcroco-0.6']
    files_bins = ['csslint-0.6']
    files_devel = ['include/libcroco-0.6/libcroco',
                   'lib/pkgconfig/libcroco-0.6.pc']

    def prepare(self):
        if self.config.target_platform == Platform.DARWIN:
            self.configure_options += ' --disable-Bsymbolic'