blob: 72036082a32468b64fade1c4bf7d24ddb20006bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'pkg-config'
version = '0.29.2'
licenses = [License.GPLv2Plus]
stype = SourceType.TARBALL
url = 'https://pkgconfig.freedesktop.org/releases/pkg-config-%(version)s.tar.gz'
tarball_checksum = '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591'
configure_options = '--with-internal-glib --disable-host-tool '
override_libtool = False
patches = ['pkg-config/0001-Automatically-detect-prefix-on-macOS-too.patch']
files_bins = ['pkg-config']
files_share = ['share/aclocal/pkg.m4']
def prepare(self):
self.append_env('CFLAGS', '-Wno-error=format-nonliteral')
|