diff --git a/projects/freedesktop.org/pkg-config/package.yml b/projects/freedesktop.org/pkg-config/package.yml index 516446a6..58340159 100644 --- a/projects/freedesktop.org/pkg-config/package.yml +++ b/projects/freedesktop.org/pkg-config/package.yml @@ -1,5 +1,5 @@ distributable: - url: https://pkgconfig.freedesktop.org/releases/pkg-config-{{version}}.tar.gz + url: https://pkgconfig.freedesktop.org/releases/{{version.tag}}.tar.gz strip-components: 1 provides: @@ -13,23 +13,21 @@ provides: # platform environments. versions: - github: freedesktop/pkg-config/tags + gitlab: gitlab.freedesktop.org:pkg-config/pkg-config/tags strip: /^pkg-config-/ build: - script: |- - ./configure $ARGS - make --jobs {{ hw.concurrency }} install + script: + - ./configure + --prefix="{{ prefix }}" + --disable-debug + --disable-host-tool + --with-internal-glib + --with-pc-path=/usr/lib/pkgconfig:/usr/share/pkgconfig # otherwise the defaults are based on our {{prefix}} + - make --jobs {{ hw.concurrency }} install env: - ARGS: - - --prefix="{{ prefix }}" - - --disable-debug - - --disable-host-tool - - --with-internal-glib - # otherwise the defaults are based on our {{prefix}} - - --with-pc-path=/usr/lib/pkgconfig:/usr/share/pkgconfig # llvm15 changed this to hard error CFLAGS: -Wno-error=int-conversion $CFLAGS test: - script: pkg-config --version + pkg-config --version