pkg-config.recipe 611 Bytes
Newer Older
1
2
3
4
5
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'pkg-config'
6
    version = '0.29.2'
7
    licenses = [License.GPLv2]
8
    stype = SourceType.TARBALL
9
    url = 'https://pkgconfig.freedesktop.org/releases/pkg-config-%(version)s.tar.gz'
10
    tarball_checksum = '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591'
11
    configure_options = '--with-internal-glib --disable-host-tool '
12
13
14

    files_bins = ['pkg-config']
    files_share = ['share/aclocal/pkg.m4']
15
16

    def prepare(self):
17
        self.append_env('CFLAGS', '-Wno-error=format-nonliteral')